in reply to
Maintain a certain number of elements inside an array?
One more way to do it:
splice @topten, 10;
That lops off all the elements at index 10 and higher.
Comment on
Re: Maintain a certain number of elements inside an array?
Download
Code
In Section
Seekers of Perl Wisdom