Schwern wrote: > Let me see if I understand this... > > $Foo is true; > > # Meanwhile, in another part of the city... > > $Foo = 0; > print "My spider sense is tingling" if $Foo; > > Does that print or not? Not. The run-time property is set on the *value* in $Foo, not on the variable itself. Change the value, change the properties. > I can see the need for wanting to disassociate truth from value (I've > wanted it myself) but if $Foo remains true, even after I've assigned a > false value to it, then yes, that does count as action-at-a-distance > and is probably a Bad Thing. Yes. perhaps even a Very Bad Thing. ;-) > However, if assigning to $Foo clears the eariler assertion of truth, > then there's no problem. Yep. Damian
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Austin Hastings
- Re: 'is' and action at a distance Jarkko Hietaniemi
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Piers Cawley
- Re: 'is' and action at a distance Edward Peschko
- Re: 'is' and action at a distance Michael G Schwern
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Edward Peschko
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Michael G Schwern
- Re: 'is' and action at a distance John Siracusa
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Damian Conway
- Re: 'is' and action at a distance Graham Barr
- Re: 'is' and action at a distance Larry Wall
- Re: 'is' and action at a distance Johan Vromans
- Re: 'is' and action at a distance Uri Guttman
- more slots in the glob, 'but', Re: 'is' and action ... David L. Nicol