Re: [RFC] export TRUE and FALSE from someplace
- From: "A. Pagaltzis" <pagaltzis gmx de>
- To: gtk-perl-list gnome org
- Subject: Re: [RFC] export TRUE and FALSE from someplace
- Date: Thu, 22 Jan 2004 03:29:59 +0100
* Andrew Pimlott <gtk-perl-list andrew pimlott net> [2004-01-21 16:50]:
On Wed, Jan 21, 2004 at 01:37:17PM +0100, A. Pagaltzis wrote:
I use
use constant FALSE => !TRUE;
That's nice, but why not go all the way?
use constant FALSE => !TRUE;
use constant TRUE => !FALSE;
Because it doesn't compile..
Anyway, since I'm not sure how tongue-in-cheek your post actually
is: the reason I define FALSE in terms of TRUE is that
use constant FALSE => '';
looks a bit odd at first glance unless you expected it. !TRUE is
self-explanatory.
--
Regards,
Aristotle
"If you can't laugh at yourself, you don't take life seriously enough."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]