The order of evaluation of the comma operator is defined as right-to-left. update2: or maybe not. see discussion below
see Terms and List Operators (Leftward)
update: I just tested this, and then I remembered that function arguments are aliases. Which throws the whole thing off.
perl -e'$i=1;sub a{print "@_"}; a($i--,++$i)'
In reply to Re^2: eval order of args to a sub
by Joost
in thread eval order of args to a sub
by otto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |