Just another Perl shrine | |
PerlMonks |
Re^2: loop thru 3-element array?by kelan (Deacon) |
on Sep 28, 2004 at 14:23 UTC ( [id://394598]=note: print w/replies, xml ) | Need Help?? |
Since you're making a separate copy of the list that gets passed in anyway, you could also use the splice trick that merlyn showed above, and get rid of all the arithmetic.
In Section
Seekers of Perl Wisdom
|
|