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]
- re: properties Damian Conway
- Re: properties Damian Conway
- Re: properties Daniel S. Wilkerson
- Re: properties Edward Peschko
- Re: properties Larry Wall
- Re: properties Edward Peschko
- Re: properties Dan Sugalski
- Re: properties John Porter
- Re: properties Dan Sugalski
- Re: properties Larry Wall
- Re: properties Jonathan Scott Duff
- Re: properties Simon Cozens
- Re: properties Damian Conway
- Re: properties Uri Guttman
- Re: properties Graham Barr
- Re: properties Graham Barr
- Re: properties Edward Peschko
- Re: properties Simon Cozens
- Re: properties Piers Cawley
- Re: properties Dave Mitchell
- Re: properties Jonathan Scott Duff
