Welcome AI Cowboy,
On the same page you mention ( http://search.cpan.org/~cjm/HTML-Tree-5.03/lib/HTML/Element.pm ), if you scroll to the top and search for $h, the first hit shows:
BASIC METHODS
new
$h = HTML::Element->new('tag', 'attrname' => 'value', ... );This constructor method returns a new HTML::Element object. The tag name is a required argument; it will be forced to lowercase. Optionally, you can specify other initial attributes at object creation time.
What might not have been clear to you is that this was intended to set your expectations that all references to $h on that page were going to refer to an instantiated HTML::Element object.
As to your original request (recommend a module), I'll leave that to the Monks who dabble far more often in HTML manipulation than I do.
Good luck in the hunt!
In reply to Re: Perl HTML confusion...
by marinersk
in thread Perl HTML confusion...
by AI Cowboy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |