Re: [RFC] export TRUE and FALSE from someplace



On Tuesday, January 20, 2004, at 10:46 PM, Joe Smith wrote:

Here's my 'constants' file:

use constant 'True'   => 1;
use constant 'False'  => 0;

sorry, but the names that would go in would be the ones documented in the C API reference, as barewords, all-caps, with prefixes (to help avoid namespace confusion when you import them). changing them from the C names gets you the readability but throws away your ability to use knowledge from other forms of gtk+ documentation (which is why i mentioned the stock items).

--
Brian: If i recall correctly, this is the physics department.
Chris: That explains all that gravity.
        -- Family Guy, "The Story on Page One"




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]