Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Restricting a scalar to certain values

by sundialsvc4 (Abbot)
on Jun 21, 2013 at 12:55 UTC ( #1040150=note: print w/replies, xml ) Need Help??


in reply to Restricting a scalar to certain values

The only vague approximation that I have seen is use constant {};.   And it is a very poor substitute.   The Perl language simply does not have real enumerated-types or compile-time checking.

  • 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://1040150]
help
Chatterbox?
[erix]: indeed had to be( time make check-world ) > test_run2.output 2>&1
[erix]: probably misremembered because of 2>&1 |
[erix]: oh nice, can do |& nowadays. Learned something new after all
LanX flagelates erix with a signed markov chain
[erix]: oh well, it's holy week, right? Thick-skin week. I just read that in the Philippines, some RCs practice self-crucifixion. Tough cookies I'd like to see

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2017-03-23 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.