home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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