>>>>> "Gary" == Gary Stainburn <[EMAIL PROTECTED]> writes:

Gary> Now when I wish to DESTROY the hash, I need to free the memory
Gary> used by the hash, including the two arrays _Links and _Signals.

Gary> Am I right in thinking that the arrays, along with the scalars
Gary> will be deleted by the garbage collector when the references in
Gary> the hash are deleted?

You might want to read my column on "Understanding Object Destructors"
in <http://www.stonehenge.com/merlyn/PerlJournal/col04.html>.  It's an
abridgement of an entire chapter I wrote for "Learning Perl Objects
References and Modules", which goes into much greater detail about that.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to