Tom Allison schreef: > 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?
See also Tie::Cacher, and several other modules on CPAN. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>