in reply to Fetching links with www::mechanize
See the documentation for WWW::Mechanize::Link for the complete API, but here's an example of what you can do:
use warnings; use strict; use WWW::Mechanize; my $w = WWW::Mechanize->new(); $w->get('http://perlmonks.org/'); foreach ($w->find_all_links) { print $_->url,"\n"; }
|
|---|