Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Mod_perl, Memory Leaks and WeakRef

by PodMaster (Abbot)
on Dec 25, 2003 at 07:43 UTC ( [id://316964]=note: print w/replies, xml ) Need Help??


in reply to Mod_perl, Memory Leaks and WeakRef

You don't call DESTROY, you just undef your object, and break all the circular references in DESTROY.

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re: Re: Mod_perl, Memory Leaks and WeakRef
by djantzen (Priest) on Dec 26, 2003 at 00:23 UTC

    Of course I still have to find all of the references to the object otherwise I'll just decrement the refcount of the object and it won't be destroyed. Point taken though about the role of DESTROY versus undef.


    "The dead do not recognize context" -- Kai, Lexx

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-19 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found