http://www.perlmonks.org?node_id=171761


in reply to Re: (MeowChow) Re: Writing a REAL destructor
in thread Writing a REAL destructor

A purely theoretical follow up answer (because I know very little about perl internals):

I believe it's freed immediately. The issue you're probably recalling is that there's no orderly destruction of objects when a program is terminating.

   MeowChow                                   
               s aamecha.s a..a\u$&owag.print
  • Comment on (MeowChow) Re3: Writing a REAL destructor