That doesn't look like Perl code.
In Perl the whole point of an array is that it maintains order.
Output:my @x = (3, 1, 2); print "@x";
3 1 2
In reply to Re: Returning an array the way it was written
by 1nickt
in thread Returning an array the way it was written
by Arengin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |