Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 rifling through the Monastery: (9)
As of 2014-12-27 02:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls