Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Validating the contents of scalars using an array based list

by hardburn (Abbot)
on Apr 03, 2003 at 17:16 UTC ( [id://247815]=note: print w/replies, xml ) Need Help??


in reply to Validating the contents of scalars using an array based list

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 (:

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated

  • Comment on Re: Validating the contents of scalars using an array based list

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://247815]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2024-04-25 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found