That's a way. The key is to not use param() in a list context. You can force scalar context as you have done (by assigning to a scalar) or you can use the scalar operator like so:
my %hash = ( data => scalar param('place'), field => 'place', );
In reply to Re: Re: Re: Strange behaviour - cgi related
by duff
in thread Strange behaviour - cgi related
by kiat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |