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 snip
Yeah, I am an idiot. My only excuse is that I had just woken up. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/