Update: See gmargo's (++) correction below.my @fifth = @arr[ map {$_*5-1} 1..$#arr+4/5 ];
Potentia vobiscum ! (Si hoc legere scis nimium eruditionis habes)
In reply to Re: how to push 5th element from one array to another array
by NetWallah
in thread how to push 5th element from one array to another array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |