Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How aggressively does Perl clean up when you exit()?

by fokat (Deacon)
on Nov 15, 2001 at 02:39 UTC ( [id://125449]=note: print w/replies, xml ) Need Help??


in reply to How aggressively does Perl clean up when you exit()?

This is really something that falls within the responsability of the OS rather than Perl. When a process exit()s, the OS is responsible for closing all open descriptors, reclaim memory, flush caches, etc.

You should be concerned with leaving your application in a consistent state (ie, calling ->rollback() on pending transactions, etc). This, as you might see, lies on a higher level of abstraction than closing a file of freeing a block of memory.

  • Comment on Re: How aggressively does Perl clean up when you exit()?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2025-06-20 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.