Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: implicitChapter 17
The LWP Library
Next: Reference: is_empty
 

insert_element

 $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).


Previous: Reference: implicitPerl in a NutshellNext: Reference: is_empty
Reference: implicitBook IndexReference: is_empty