in reply to
Get even postion elements in an array
Not much readable, but...
@input[map 1+2*$_,0 .. @input/2]
[download]
Comment on
Re: Get even postion elements in an array
Download
Code
In Section
Seekers of Perl Wisdom