Another way to easily access form parameters when using
CGI.pm is to use import_names
my $q = new CGI;
inerror("we couldn't find $Q::home, please check path");
From "perldoc CGI":
IMPORTING ALL PARAMETERS INTO A NAMESPACE:
This creates a series of variables in the 'R' namespace.
For example, $R::foo, @R:foo. For keyword lists, a vari
able @R::keywords will appear. If no namespace is given,
this method will assume 'Q'. WARNING: don't import any
thing into 'main'; this is a major security risk!!!!
In older versions, this method was called import(). As of
version 2.20, this name has been removed completely to
avoid conflict with the built-in Perl module import opera