Scope-OnExit Scope::OnExit is a module to run code on scope exit, for example as cleanup. It can be called like this: on_scope_exit { do_something() }; INSTALLATION To install this module, run the following commands: perl Build.PL ./Build ./Build test ./Build install SUPPORT AND DOCUMENTATION After installing, you can find documentation for this module with the perldoc command. perldoc Scope::OnExit You can also look for information at: RT, CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=Scope-OnExit AnnoCPAN, Annotated CPAN documentation http://annocpan.org/dist/Scope-OnExit CPAN Ratings http://cpanratings.perl.org/d/Scope-OnExit Search CPAN http://search.cpan.org/dist/Scope-OnExit COPYRIGHT AND LICENCE Copyright (C) 2009 Leon Timmermans This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.