Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: What is true and false in Perl?

by Anonymous Monk
on Sep 10, 2013 at 15:25 UTC ( #1053293=note: print w/replies, xml ) Need Help??


in reply to Re: What is true and false in Perl?
in thread What is true and false in Perl?

Add the following line to your program, then PERL will work as you prefer, grasshoppah.

use constant { TRUE => 1, FALSE => 0 };

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1053293]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2017-07-27 03:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (402 votes). Check out past polls.