Re: TRUE
"Peter Haworth" <[email protected]>
| Newsgroups | gmane.comp.lang.perl.fun |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 21 Jan 2004 18:43:26 +0200, Gaal Yahas wrote: > 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 :-) So do I, but for some reason, it's always the last C<use>. Under these circumstances, the above code works. -- Peter Haworth [email protected] ``True, it returns "" for false, but "" is an even more interesting number than 0.'' -- Larry Wall