|
|
| XP is just a number | |
| PerlMonks |
Re: Generating Select elements with foreach loopsby hv (Parson) |
| on Jul 11, 2006 at 11:21 UTC ( #560399=note: print w/ replies, xml ) | Need Help?? |
|
The error is in the check for '1' - you are checking the user record, when you should be checking $_, the quantity for which you are currently generating the option field:
I find this sort of output most easily generated with (s)printf:
Hugo
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||