Basically I want some way to create a large array in a sub-routine, keep it around as long as I need, and then to get rid of it. And preferrably I'd still want to keep this all in a single package.
Sound to me like you would benefit from OO. Depending on the details of what you are doing I would probably be thinking of either converting the whole lot into a single class, or perhaps into two classes, one for the "common_stuff" and one for the processStuff (which would contain a common_stuff object). Have a read of perltoot and perlboot and maybe perltootc too.
In reply to Re: Design Question
by demerphq
in thread Design Question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |