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?


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.

However, if assigning to $Foo clears the eariler assertion of truth,
then there's no problem.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>    http://www.pobox.com/~schwern/
Perl6 Quality Assurance     <[EMAIL PROTECTED]>       Kwalitee Is Job One
You see, in this world there's two kinds of people.  Those with loaded
guns, and those who dig.  Dig.
                -- Blonde, "The Good, The Bad And The Ugly"

Reply via email to