|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: A Case with 5 Var'sby dorward (Curate) |
| on Jan 25, 2007 at 10:42 UTC ( #596445=note: print w/ replies, xml ) | Need Help?? |
|
Use a hash instead of five scalars. Then you can do:
(Untested) That will give you an array of all the fields that are set. This may or may not be helpful - you didn't say what you planned to do with the results.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||