spx2 has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I want to get the links of a page in the order that they appear(top to bottom).
I have tried with WWW::Mechanize with no result.
I was thinking about using HTML::TreeBuilder wich I'm sure could do this
but doesn't WWW::Mechanize have something like this ?
The links I'm trying to get are threads of a forum and I believe the single
way to
Comment on regarding order of links with WWW::Mechanize
WWW::Mechanize does return the links in the order they appear in the source, however CSS makes it fairly easy for things to be displayed on the page in a different order than they are in the source.
We're not surrounded, we're in a target-rich environment!