1B::Hooks::EndOfScope(3)User Contributed Perl DocumentatioBn::Hooks::EndOfScope(3)
2
3
4
6 B::Hooks::EndOfScope - Execute code after a scope finished compilation
7
9 on_scope_end { ... };
10
12 This module allows you to execute code when perl finished compiling the
13 surrounding scope.
14
16 on_scope_end
17 on_scope_end { ... };
18
19 on_scope_end $code;
20
21 Registers $code to be executed after the surrounding scope has been
22 compiled.
23
24 This is exported by default. See Sub::Exporter on how to customize it.
25
27 Sub::Exporter
28
29 Variable::Magic
30
32 Florian Ragwitz <rafl@debian.org>
33
35 Copyright (c) 2008 Florian Ragwitz
36
37 This module is free software.
38
39 You may distribute this code under the same terms as Perl itself.
40
41
42
43perl v5.12.0 2009-04-19 B::Hooks::EndOfScope(3)