use CGI qw/:standard/; my %data = ( salesman => [param('salesman')] );
CGI::param() returns a list when in list context.
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
In reply to Re: Populating an array reference in a hash with with a regex
by Ovid
in thread Populating an array reference in a hash with with a regex
by diakonos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |