in reply to There's got to be a better way?
For example, if you're planning to test the $checked variables later, like this:
then you can just do this instead:if ($checked03) { ... }
If you're planning to print out the word CHECKED then why not put that logic in the place where the message is printed, instead of creating six separate variables beforehand?if ($FORM{'h03'}) { ... }
--
Mark Dominus
Perl Paraphernalia
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: There's got to be a better way?
by Anonymous Monk on May 20, 2001 at 07:52 UTC | |
by Dominus (Parson) on May 20, 2001 at 19:55 UTC | |
by srawls (Friar) on May 20, 2001 at 20:03 UTC | |
by Dominus (Parson) on May 20, 2001 at 20:05 UTC |