The order in which arguments to subroutines are processed is not guaranteed:sub test { say for @_ } test($x=0, $x=$x+1, $x++, ++$x); [download] Returns: 3 3 1 3 [download]
sub test { say for @_ } test($x=0, $x=$x+1, $x++, ++$x); [download]
3 3 1 3 [download]
In reply to Re^3: Perl bug ? by choroba in thread Perl bug ? by vsespb