in reply to Re^2: Perl bug ?
in thread Perl bug ?
Update: Disregard. See rather Re^5: Perl bug ?.
The order in which arguments to subroutines are processed is not guaranteed:
Returns:
sub test { say for @_ }
test($x=0, $x=$x+1, $x++, ++$x);
3
3
1
3
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl bug ?
by tinita (Parson) on Feb 06, 2013 at 12:42 UTC | |
by choroba (Cardinal) on Feb 06, 2013 at 12:46 UTC | |
Re^4: Perl bug ?
by vsespb (Chaplain) on Feb 06, 2013 at 12:18 UTC | |
by choroba (Cardinal) on Feb 06, 2013 at 12:35 UTC | |
by tinita (Parson) on Feb 06, 2013 at 13:20 UTC | |
by Corion (Patriarch) on Feb 06, 2013 at 13:23 UTC |
In Section
Seekers of Perl Wisdom