My question is:
How do I retrieve the "2" from the "number" in the query string ? I only need to use that.
Can I put it in a variabel so that I can use it. I don't need the other information from the query string.
I think this is part of the code of getting the parameters from a URL.
You should use the CGI.pm module to handle this...
Code:
#!/usr/bin/perl
use CGI qw(:standard :form);
use strict;
my $cgi = new CGI;
my $number = $cgi->param('number');
print $cgi->header(-type=>'text/html');
print "The Number: " . $number . " \n";