If I have a URL (eg. http://www.foo.com/alink.pl?page=2), I want to determine if I am being redirected to another link. I’d also like to know the final URL (eg. http://www.foo.com/other_link.pl). Finally, I want to be able to do this in Perl and Groovy.
If I have a URL (eg. http://www.foo.com/alink.pl?page=2 ), I want to determine if I
Share
In Perl: