Memory allocation is limited to scope(block,subroutine,package). If you have any references to an object then the object stays in memory. Once the last reference to that object is gone (out of scope or undef'd for example) then your resources are freed automatically.
The data(object) is persistent only when you have something in the namespace(s) that reference.
In reply to Re: Garbage Collection
by mrmick
in thread Garbage Collection
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |