Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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?
[Discipulus]: good morning nuns and monks!

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2018-06-25 07:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?