I want to keep a short list of the most recently used 'X'.
< 200 elements.

Is there any suggestions other than to
unshift @recent, $element;
$#recent = $maximum;

I know this will create a lot of array movement, but I can't think of anything better off the top of my head. You?

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to