1B::Hooks::EndOfScope::PUPs(e3r)Contributed Perl DocumentBa:t:iHoonoks::EndOfScope::PP(3)
2
3
4
6 B::Hooks::EndOfScope::PP - Execute code after a scope finished
7 compilation - PP implementation
8
10 version 0.26
11
13 This is the pure-perl implementation of B::Hooks::EndOfScope based only
14 on modules available as part of the perl core. Its leaner sibling
15 B::Hooks::EndOfScope::XS will be automatically preferred if all
16 dependencies are available and $ENV{B_HOOKS_ENDOFSCOPE_IMPLEMENTATION}
17 is not set to 'PP'.
18
20 on_scope_end
21 on_scope_end { ... };
22
23 on_scope_end $code;
24
25 Registers $code to be executed after the surrounding scope has been
26 compiled.
27
28 This is exported by default. See Sub::Exporter on how to customize it.
29
31 Bugs may be submitted through the RT bug tracker
32 <https://rt.cpan.org/Public/Dist/Display.html?Name=B-Hooks-EndOfScope>
33 (or bug-B-Hooks-EndOfScope@rt.cpan.org <mailto:bug-B-Hooks-
34 EndOfScope@rt.cpan.org>).
35
37 • Florian Ragwitz <rafl@debian.org>
38
39 • Peter Rabbitson <ribasushi@leporine.io>
40
42 This software is copyright (c) 2008 by Florian Ragwitz.
43
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.36.0 2022-07-22 B::Hooks::EndOfScope::PP(3)