![]() |
|
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?? |
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.
In Section
Seekers of Perl Wisdom
|
|