... then iterate over @links. Something like ...... use WWW::Mechanize; my $mech = WWW::Mechanize->new(); $mech->get( $url ); my @links = $mech->links();
for my $l (@links) { next if $l->url() =~ /foo/; push ( @non_foo_links, $l ); ...
In reply to Re: Negate link search in Mechanize
by Plankton
in thread Negate link search in Mechanize
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |