On Sat, May 19, 2001 at 11:47:10AM -0700, Larry Wall wrote:
> Edward Peschko writes:
> : my $num = 0 is true;
> : print $num.true;  # prints 1;
> 
> You've set a variable property there, so any value in it will appear to
> be permanently true.

My minds wanted that to be a value property. So, is the following
correct?

        my $a is true = 0;              # variable property
        my $a = 0 is true;              # variable property
        my ($a) = 0 is true;            # value property


> It's really important to keep variable properties separate from value
> properties, especially when you temporize a variable:

I think you've said something really profound here :-)

-Scott
-- 
Jonathan Scott Duff
[EMAIL PROTECTED]

Reply via email to