dump $h->dump() Prints the tag name of the element and all its children to STDOUT. Useful for debugging. The structure of the document is shown by indentation.