1NAME 2 B::Hooks::EndOfScope - Execute code after a scope finished compilation 3 4SYNOPSIS 5 on_scope_end { ... }; 6 7DESCRIPTION 8 This module allows you to execute code when perl finished compiling the 9 surrounding scope. 10 11FUNCTIONS 12 on_scope_end 13 on_scope_end { ... }; 14 15 on_scope_end $code; 16 17 Registers $code to be executed after the surrounding scope has been 18 compiled. 19 20 This is exported by default. See Sub::Exporter on how to customize it. 21 22SEE ALSO 23 Sub::Exporter 24 25 Variable::Magic 26 27AUTHOR 28 Florian Ragwitz <rafl@debian.org> 29 30COPYRIGHT AND LICENSE 31 Copyright (c) 2008 Florian Ragwitz 32 33 This module is free software. 34 35 You may distribute this code under the same terms as Perl itself. 36 37