in reply to Get even postion elements in an array
@output = do {my $i = 0; grep {$i++ % 2} @input}; [download]