value1, value2 etc. are names of checkboxes in the first cgi page.
<input type=checkbox name=value value=foo> foo<br> <input type=checkbox name=value value=bar> bar<br> <input type=checkbox name=value value=baz> baz ...
my @values = $cgi->param('value');
Please note that 'value' is not very descriptive. Consider changing it to something useful.
Juerd
- http://juerd.nl/
- spamcollector_perlmonks@juerd.nl (do not use).
In reply to Re: $variables when retrieving cgi params
by Juerd
in thread $variables when retrieving cgi params
by basm101
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |