use CGI qw(:standard);
$a = param ("name1"); # $a is now "value1" $b = param ("name2"); # $b is now "value2" $c = param ("name3"); # $c is now "value3"
If the param function is called without arguments, it returns an array of all the names that appeared in the query string.
Example, for the above URL:
@names = param(); # @names is now ("name1", "name2", "name3")
Find out yourself: how can you retrieve a list of the values in the query string?