Less important - the OP seems to want the array elements in that order rather than just a numeric sequence
Except that the array elements that the OP wants in that order are: "I have the numbers 1 to n". I doubt s/he cares whether it is his/her original 1..n or just a generated numeric sequence. Just FYI.
- tye
In reply to Re^3: Golf/Perlish solution to this problem? (1..$n)
by tye
in thread Golf/Perlish solution to this problem?
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |