I think Mr Pimlott was joking, although I must admit it was pretty subtle :-)
Another Andrew ----- Original Message ----- From: "Gaal Yahas" <[EMAIL PROTECTED]> To: "Andrew Pimlott" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, January 21, 2004 4:43 PM Subject: Re: TRUE > On Wed, Jan 21, 2004 at 11:09:29AM -0500, Andrew Pimlott wrote: > > I like to use symbolic constants. Wha can remember what all those > > 1, 0, undef, and ''s mean anyway? So I start off all my programs > > with > > > > use constant FALSE => !TRUE; > > use constant TRUE => !FALSE; > > I start off all my programs with use strict :-) > > But more to the point, how do you use your TRUE and FALSE? Suppose you > want to test the return value of this sub: > > sub returns_a_true_value { 8.2 } > > Would you do "if (returns_a_true_value() eq TRUE)"? "== TRUE"? > Neither would work, and you can just do "if (returns_a_true_value())" > directly anyway. > > -- > Gaal Yahas <[EMAIL PROTECTED]> > http://gaal.livejournal.com/