in reply to Re: better way to cleanup a package?
in thread better way to cleanup a package?
And a package are only cleaned with:
undef *{"packname::"}
not with:
undef *{"packname"}
But you need to clean the variables and functions inside before!
I made some tests of the reuse of 100 times of a package, with a randome variable with 50Mb, and it don't use more than 60Mb in the memory. But if I only do a undef *{"foovar"}, without undef ${"foovar"} first, the process use 100Mb!
Graciliano M. P.
"The creativity is the expression of the liberty".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: better way to cleanup a package?
by shotgunefx (Parson) on Dec 04, 2002 at 01:50 UTC |