in reply to Re: Using CGI.pm params to make a DBI MySQL query
in thread Using CGI.pm params to make a DBI MySQL query

And just to be on the safe side
my %field; for ( qw/foo bar baz/ ) { $field{ $_ } = param( $_ ); }
This way we are explicitly allowing the things we want, and can even build in error handling if the things we need aren't there.