Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
i have an array from which i would like to put the every 5th element to another array.
how can this be done.
example
myarray (1,2,3,4,5,6,7,8,sd,frd,sed,sddfsd,asecf,ssdd,myh)
i want sub array like (5,frd,myh)
Back to
Seekers of Perl Wisdom