>>>>> "CO" == Chas Owens <[email protected]> writes:
CO> On Thu, Jul 15, 2010 at 11:50, Uri Guttman <[email protected]> wrote: >>>>>>> "CO" == Chas Owens <[email protected]> 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 ------ [email protected] -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
