This is "AtExit", a Perl5 module which exports a function name "atexit()" to perform ANSI-C style exit processing for Perl5 programs; and a class named "AtExit" to register clean-up functions for any variable-scope in whicvh the AtExit object is defined.
Andrew Langmead <aml@world.std.com> (initial draft).
Brad Appleton <bradapp@enteract.com> (Version 1.02 and 2.00).
Michael A. Chase <mchase@ix.netcom.com> (Version 2.00).
Copyright (C) 1996 Andrew Langmead. All rights reserved.
AtExit is free software; you can redistribute it and/or modify it under the terms of the Artistic License distributed with Perl version 5.000 or (at your option) any later version. Please refer to the Artistic License that came with your Perl distribution for more details.
The Artistic License should have been included in your distribution of Perl. It resides in the file named "Artistic" at the top-level of the Perl source tree (where Perl was downloaded/unpacked -- ask your system administrator if you dont know where this is). Alternatively, the current version of the Artistic License distributed with Perl can be viewed on-line on the World-Wide Web (WWW) from the following URL:
http://www.perl.com/perl/misc/Artistic.html
The latest version of Perl can be obtained on the World-Wide web (WWW) from the following URL:
http://www.perl.com/CPAN/src/latest.tar.gz
This software is distributed in the hope that it will be useful, but is provided "AS IS" WITHOUT WARRANTY OF ANY KIND, either expressed or implied, INCLUDING, without limitation, the implied warranties of MERCHANTABILITY and FITNESS FOR A PARTICULAR PURPOSE.
The ENTIRE RISK as to the quality and performance of the software IS WITH YOU (the holder of the software). Should the software prove defective, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT WILL ANY COPYRIGHT HOLDER OR ANY OTHER PARTY WHO MAY CREATE, MODIFY, OR DISTRIBUTE THE SOFTWARE BE LIABLE OR RESPONSIBLE TO YOU OR TO ANY OTHER ENTITY FOR ANY KIND OF DAMAGES (no matter how awful - not even if they arise from known or unknown flaws in the software).
Please refer to the Artistic License that came with your Perl distribution for more details.
Please see the file named "MANIFEST" which should have been included in the AtExit distribution.
Please see the perl "ExtUtils::MakeMaker" manpage for how to build and install using the Makefile.PL template. In a nutshell, simply typing:
perl Makefile.PL
should build a Makefile with the usual targets like "all", "clean", "test", and "install".
Please send all bug reports to Brad Appleton <bradapp@enteract.com>
19-Jan-1999 Brad Appleton <bradapp@enteract.com>
Version 2.00
Made the following changes based on patches contributed by Michael Chase
Although atexit & rmexit are still exported (for backward compatibility), exit_subs(), is_exiting() and ignore_when_exiting() are NOT exported by default.
Version 1.02
Version 1.01
Version 1.00 posted to comp.lang.perl.modules to garner feedback, and to see if the module was too trivial to merit placing on CPAN.
Polished up a bit for production and added documentation. Sent the result to Andrew Langmead for his comments and approval.
Initial version created.