Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Restricting a scalar to certain values

by jakeease (Friar)
on Jun 20, 2013 at 08:14 UTC ( #1039916=note: print w/ replies, xml ) Need Help??


in reply to Restricting a scalar to certain values

The closest thing that I can think of is Data::Rlist. What you are asking sounds a bit like an enum. This discussion might be useful: How can I create an enum type in Perl?


Comment on Re: Restricting a scalar to certain values

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2014-07-31 11:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls