in reply to get a value from a URL

Take a look at CGI. Specifically the param method from CGI.

antirice    
The first rule of Perl club is - use Perl
The
ith rule of Perl club is - follow rule i - 1 for i > 1