which does, practically speaking, nothing.$a, $b = $b, $a + $b
You have to add parens to enforce the proper precedence.
In reply to Re: Multiple assignment in Perl
by bart
in thread Multiple assignment in Perl
by rnaeye
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |