in reply to CGI.pm & STDIN question
In the section of the CGI documentation headed "FETCHING THE NAMES OF ALL THE PARAMETERS PASSED TO YOUR SCRIPT" it provides the sample code:
@names = $query->param [download]