or, more cryptic
$a=1;print grep {$a^=1} @input
Cheers Rolf
In reply to Re: Get even postion elements in an array by LanX in thread Get even postion elements in an array by Anonymous Monk