You don't even need to bother with all of that code, if you just use the right module
use strict; use warnings; use WWW::Mechanize; my $mech = WWW::Mechanize->new; $mech->get( 'http://bleep.com/index.php' ); printf "%s\n", $_->URI for $mech->links;
See also: WWW::Mechanize::Link
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
In reply to Re: How do I stop this from being a never ending loop
by jeffa
in thread How do I stop this from being a never ending loop
by j3f
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |