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"; }
In reply to Re: Fetching links with www::mechanize
by Joost
in thread Fetching links with www::mechanize
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |