On 10-07-15 12:47 PM, Chas. Owens wrote:
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.
I find it best not to answer questions before the first cup of coffee. ;)
--
Just my 0.00000002 million dollars worth,
Shawn
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/