In article <[EMAIL PROTECTED]>,
Perrin Harkins <[EMAIL PROTECTED]> wrote:
> If you actually want to free the memory, you need to undef it. The
> untie prevents it from persisting, but the memory stays allocated
> unless you undef.
OK, I think I'm probably handling this properly then, after all.
In a Registry script, I typically tie the hash to a package global, and
pass a reference to that hash to any routines in my library modules. At
the end of the script, the hash is untied and the package global undefed.
Many thanks,
Andrew.
--
perl -MLWP::Simple -e 'getprint("http://www.article7.co.uk/res/japh.txt");'