B::Hooks::EndOfScope::PP - Execute code after a scope finished compilation - PP implementation
version 0.26
This is the pure-perl implementation of the B::Hooks::EndOfScope manpage based only on
modules available as part of the perl core. Its leaner sibling
the B::Hooks::EndOfScope::XS manpage will be automatically preferred if all
dependencies are available and $ENV{B_HOOKS_ENDOFSCOPE_IMPLEMENTATION} is
not set to 'PP' .
on_scope_end { ... };
on_scope_end $code;
Registers $code to be executed after the surrounding scope has been
compiled.
This is exported by default. See the Sub::Exporter manpage on how to customize it.
Bugs may be submitted through the RT bug tracker
(or bug-B-Hooks-EndOfScope@rt.cpan.org).
This software is copyright (c) 2008 by Florian Ragwitz.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
|