http://qs1969.pair.com?node_id=803550


in reply to how to push 5th element from one array to another array

Slicy (Pretty efficient):
my @fifth = @arr[ map {$_*5-1} 1..$#arr+4/5 ];
Update: See gmargo's (++) correction below.

     Potentia vobiscum ! (Si hoc legere scis nimium eruditionis habes)