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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.