I am wondering how undef works. I know that undef will undefine a variable if used like undef($scalar); I also know that it doesn't actually free up the memory but tells Perl that it's now available to be recycled for other data.
but what about nested data (ie. hashes of hashes, arrays of arrays, etc.). if $ref is a reference to a nested structure (let's say a hash of hashes). will - undef $ref; - undefine the enitre nested data structure if no other variables contain references to any part of it? (assuming no cyclical references) if not, how would you free it so Perl can reuse it? Nikola Janceski Leaders who win the respect of others are the ones who deliver more than they promise, not the ones who promise more than they can deliver. -- Mark A. Clement ---------------------------------------------------------------------------- -------------------- The views and opinions expressed in this email message are the sender's own, and do not necessarily represent the views and opinions of Summit Systems Inc. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
