Name
insert_element
Synopsis
$h
->insert_element($element
,implicit
)
Inserts the object $
element
at the current position relative to the root object $
h
and
updates the position (indicated by pos
) to the inserted element. Returns
the new $
element
. The
implicit
argument is a Boolean
indicating whether the element is an implicit tag (true) or the
original HTML (false).
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.