I was considering some sort of size limited tied hash, and then shifting an element off, but was looking at what others might suggest.
Sounds like a good solution to me. CPAN has some modules already, but this is probably the kind of thing I'd do myself.
In reply to Re: how to limit size of hash
by gaal
in thread how to limit size of hash
by albert
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |