in reply to CGI parameters as global variables
But i personally prefer the param() method, as you don't have to worry about hash name collisions.# from the docs use CGI ':cgi-lib'; my $params = Vars;
Anyway, your while loop seems very unecessary. each returns a key-value pair - the value is already set in the ... value. You can always get that value with $Param{$key}. Why import into a package?
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|