Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 chilling in the Monastery: (9)
As of 2014-09-18 08:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (109 votes), past polls