|
|
| Just another Perl shrine | |
| PerlMonks |
Re: How aggressively does Perl clean up when you exit()?by grinder (Bishop) |
| on Nov 14, 2001 at 16:31 UTC ( [id://125373]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
You can make sure your database handles are closed down correctly by calling the disconnect method in an END block.
There is also a module on CPAN yclept1 AtExit that I have never used. For all I know, it predates the appearance of END blocks, but it may be worth a look. 1. Chatterbox silliness. yclept is very olde english, meaning "named". --g r i n d e r
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||