because there is no param(template), so it's like you said 'template' => nothing, comma, minscale, I guess.my %webobj = ( 'template' => , 'minscale' => 2 );
I suppose this is somehow different to doing it with an undefined variable -- that way you'd get undef as the value for 'template'.
I know it's daggy and old-fashioned, but if I'm in a hurry, I just do this:
which puts everything into a hash called %in. That was only included in CGI.pm for backward, perl 4/cgi-lib compatibility, but I like it. It does what you're trying to do here, right?CGI::ReadParse();
Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.
M-J D
In reply to Re: •Re: Puzzling CGI behavior
by Cody Pendant
in thread Puzzling CGI behavior
by punkish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |