Subject: | HTML:::Element $obj->pos() seems to have no effect |
Date: | Wed, 20 Feb 2013 11:52:45 -0600 |
To: | bug-html-tree [...] rt.cpan.org |
From: | David Favor <david [...] davidfavor.com> |
Please update documentation to have an example of how to
use $obj->pos() to have $obj->insert_element() insert a
new HTML::Element object as the first child of a parent,
rather than the last child.
For example, how to insert:
my $obj = HTML::Element->new('meta', 'charset' => $charset);
as the first child of the <head> tag, rather than the last.
Please hit reply also and let me know how to do this.
Thanks.
--
Love feeling your best ever, all day, every day?
Click http://RadicalHealth.com for the easy way!