There's more than one way to do things | |
PerlMonks |
(jptxs)Re: Limiting array size?by jptxs (Curate) |
on Jul 05, 2001 at 23:48 UTC ( [id://94235]=note: print w/replies, xml ) | Need Help?? |
again, depending on exactly how and why you're implamenting this, you could just write a sub that you call each time you want use the array that checks and rejects it if the length is unacceptable. The Tie ideas are more elegant, but if you can't use them this could work too...
We speak the way we breathe. --Fugazi
In Section
Seekers of Perl Wisdom
|
|