http://www.perlmonks.org?node_id=2245

Q&A > CGI programming > How do I get at the parameters in my CGI program? - Answer contributed by vroom

You're going to want to start with CGI.pm and the param function
use CGI; $query=CGI::new(); $param1=$query->param('param1'); @params=$query->param; #gets a list of all the names of the parameters + passed to the script