in reply to
Re^2: How to get back the url of a page
in thread How to get back the url of a page
cormanaz is right. This image site sometimes redirects images to an IP address when the servers are getting high traffic. I need to be able to load the original image URL and detect whether or not it's going to redirect me. If so, I need to know what the address is of the image.
This is my current set up.
foreach my $pic (@pics)
my $mech = WWW::Mechanize->new();
$mech->agent_alias( 'Windows IE 6' );
my $location = $mech->uri();
print "\ntesting $pic with location $location";
"Age is nothing more than an inaccurate number bestowed upon us at birth as just another means for others to judge and classify us"