more useful options | |
PerlMonks |
Re^2: Golf/Perlish solution to this problem?by GrandFather (Saint) |
on Jan 31, 2008 at 02:59 UTC ( [id://665267]=note: print w/replies, xml ) | Need Help?? |
Except it gives the wrong answer:
Less important - the OP seems to want the array elements in that order rather than just a numeric sequence, but that's trivial to fix by using a slice. Perl is environmentally friendly - it saves trees
In Section
Seekers of Perl Wisdom
|
|