in reply to Get redirected URL
my $ua = LWP::UserAgent->new(
requests_redirectable => ,
my $res = $ua->get( shift );
print $res->status_line, "\n", 'Location: ', $res->header( 'location'
bricas@bricas-laptop:~$ perl red.pl http://bit.ly/gf4h1
--"No matter how much you push the envelope it'll still be stationary."
Electric eels were invented at the same time as electricity
Before electricity was invented, electric eels had to stun with gas
Results (376 votes). Check out past polls.