Thanks, I have the page as a tree now? How can I traverse it?
my $dom = Mojo::DOM->new($html);
$dom = $dom->tree;
my css = Mojo::DOM::CSS->new(tree => $dom);
my $elements = $css->select('*');
On Wednesday, July 30, 2014 9:50:43 AM UTC-4, sri wrote:
>
> I just want to use an iterator that will start at the top of the page and
>> walk down through all elements in a page.
>>
>
> http://mojolicio.us/perldoc/Mojo/DOM/CSS#pod-
>
> --
> sebastian
>
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.