Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2015-11-30 01:36 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (755 votes), past polls