in reply to Directly remove an entry from the symbol table
Have you looked at:
use Symbol qw|delete_package|;Here's the chunk I used:
eval { delete_package($packageName); # Have to remove the package from the %INC hash so that require wi +ll # actually load the package again. delete($INC{$packageFile}); };
I can't say that I ever got package dropping to work 100%. It doesn't free up memory for the package.
Hope this helps.
Soon to be unemployed!
|
|---|