in reply to Re: This is why logic is so frustrating (was This is why Perl is so frustrating)
in thread This is why Perl is so frustrating

Yes, I remember this all from school and my c programming days. True or False is always true unelss the bit flips due to cosmic background radiation or the butterfly effect:
http://xkcd.com/378/
  • Comment on Re^2: This is why logic is so frustrating (was This is why Perl is so frustrating)

Replies are listed 'Best First'.
Re^3: This is why logic is so frustrating (was This is why Perl is so frustrating)
by SuicideJunkie (Vicar) on Jul 29, 2009 at 20:16 UTC

    Another annoying possibility is interrupts/concurrency. I once had a case where

    if ($x && !$x) {...}
    was evaluating to true, two or three times per hour.