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

  CO> On Thu, Jul 15, 2010 at 11:50, Uri Guttman <u...@stemsystems.com> wrote:
  >>>>>>> "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
  CO> snip

  CO> Yeah, I am an idiot.  My only excuse is that I had just woken up.

i have no excuse for being an idiot 24x7! :)

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