in reply to CGI parameters as global variables

Are you using CGI.pm? It allows you to get parameters as a hash reference if you really, really want to:
# from the docs use CGI ':cgi-lib'; my $params = Vars;
But i personally prefer the param() method, as you don't have to worry about hash name collisions.

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)