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

Reply via email to