>>>>> "CO" == Chas Owens <chas.ow...@gmail.com> writes:

  CO> No, you can say

  CO> $a = !a;

  CO> or

  CO> $a != $a;

that is a no-op. ! isn't a binary op so it can't be used as an
assignment op. != is just the numeric comparison not equal op. so that
last line is always false and doesn't change $a.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to