Dammit, I got the example exactly backwards. Try this: > $Foo is true; > $Foo = 0; > print "Stuff" if $Foo; # *WOULD* print - "is" assigns a > # permanent "true" property > > $Foo as true = ""; > $Foo = 0; > print "Stuff" if $Foo; # *WOULD NOT* print - "as" is reset by > # value assignment since is temporary
- Separate "as" keyword? (Re: 'is' and action at... Nathan Wiger
- Re: Separate "as" keyword? (Re: 'is' and ... Dave Storrs
- Re: Separate "as" keyword? (Re: 'is' and ... Nathan Wiger
- Re: Separate "as" keyword? (Re: 'is' and ... Buddha Buck
- Re: Separate "as" keyword? (Re: 'is' and ... Trond Michelsen
- Re: Separate "as" keyword? (Re: 'is' ... Bart Lateur
- Re: Separate "as" keyword? (Re: 'is' ... Damian Conway
- Re: Separate "as" keyword? (Re: 'is' and ... Larry Wall
- Re: Separate "as" keyword? (Re: 'is' and ... Jarkko Hietaniemi
- Re: Separate "as" keyword? (Re: 'is' ... Larry Wall