Perl: the Markov chain saw | |
PerlMonks |
Re: Limiting array size?by bikeNomad (Priest) |
on Jul 05, 2001 at 23:44 UTC ( [id://94229]=note: print w/replies, xml ) | Need Help?? |
What would you do when the array tried to grow bigger? Anyway, you should look at Tie::Array, specifically Tie::StdArray. I think you can override STORE and STORESIZE to do what you want (depending on what it is).
In Section
Seekers of Perl Wisdom
|
|