That's always dangerous code. param in a list context (or any subroutine in a list context, for that matter) might return a variable number of arguments. You'll want to add scalar in front of each of those param calls.my %webobj = ( 'template' => param('template'), 'minscale' => param('minscale') );
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Puzzling CGI behavior
by merlyn
in thread Puzzling CGI behavior
by punkish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |