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.
In reply to Re: Puzzling CGI behavior
by BrowserUk
in thread Puzzling CGI behavior
by punkish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |