For example, check out these two ways to swap two variables:$x ^= $y ^= $x ^= $y; ($x, $y) = ($y, $x);
It might surprise you to learn that these aren't even equivalent. The XORs won't work with references.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: Faster Perl, Good and Bad News
by sauoq
in thread Faster Perl, Good and Bad News
by abitkin
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |