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.my %field; for ( qw/foo bar baz/ ) { $field{ $_ } = param( $_ ); }
In reply to (ichimunki) Re x 2: Using CGI.pm params to make a DBI MySQL query
by ichimunki
in thread Using CGI.pm params to make a DBI MySQL query
by George_Sherston
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |