Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Think about Loose Coupling
 
PerlMonks  

Re: Safe.pm and memory problems - continue...

by shushu (Scribe)
on Feb 17, 2003 at 10:21 UTC ( #235931=note: print w/ replies, xml ) Need Help??


in reply to Safe.pm and memory problems - continue...
in thread Safe.pm and memory problems

Hi again,
Well, it all seems to be a matter of order.
When deleting a package using Symbol::delete_package you should do it only after deleting packages used inside it. By executing packages() on SPACE namespace, executing delete_package on the packages used in it (except main::), and only after that executing it on the namespace itself - I got the answer.

Thanks anyway,
shushu


Comment on Re: Safe.pm and memory problems - continue...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://235931]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2013-05-18 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (391 votes), past polls