my $c = ($a, $b++);
This line assigns last value of the list to $c (operation of comma operator) then increments the value in $b by 1.
In reply to Re: Unexpected variable assignment
by Mr. Muskrat
in thread Unexpected variable assignment
by simon.proctor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |