There's more than one way to do things | |
PerlMonks |
Re: Validating the contents of scalars using an array based listby hardburn (Abbot) |
on Apr 03, 2003 at 17:16 UTC ( [id://247815]=note: print w/replies, xml ) | Need Help?? |
I think your solution is just fine. Otherwise, you could use something like WWW::Form and set the 'optional' attribute on its validators as needed. Update: Didn't notice that you were using symbolic refs. That makes your solution less fine (: ---- Note: All code is untested, unless otherwise stated
In Section
Seekers of Perl Wisdom
|
|