in reply to Puzzling CGI behavior
The quick (and possibly dirty, depending on your POV) is to ensure that your hash has a default value the first-time through.
my %webobj = ( 'template' => param('template')||'', 'minscale' => param('minscale')||'0' );
A quick test shows this seems to work ok for your example.
Examine what is said, not who speaks.
The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Puzzling CGI behavior
by punkish (Priest) on Jan 30, 2003 at 03:13 UTC | |
by chromatic (Archbishop) on Jan 30, 2003 at 03:27 UTC |