Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by broquaint (Abbot)
on Nov 14, 2001 at 21:14 UTC ( [id://125368]=note: print w/replies, xml ) Need Help??


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

When you exit() from perl, it will close all open filehandles and free all variables. As for database connections, I believe it will attempt to close it, but I get the feeling that it is largely dependent on how your database driver handles disconnections. But generally it's pretty safe to exit() from perl at all but the most crucials of times (and even then it's pretty sturdy).
HTH

broquaint

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-03-29 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found