my @evens = @all[#even elements only]; [download]
In reply to alternate array elements by Anonymous Monk