in reply to Maintain a certain number of elements inside an array?

@topten = @topten[0..9];