B::Hooks::EndOfScope::XS(3pm) User Contributed Perl Documentation B::Hooks::EndOfScope::XS(3pm)
B::Hooks::EndOfScope::XS - Execute code after a scope finished compilation - XS implementation
| Use Case | Command | Description |
|---|---|---|
| Execute code after scope compilation | on_scope_end { ... }; | Registers a block of code to be executed after the surrounding scope has been compiled. |
| Execute code after scope compilation (variable) | on_scope_end $code; | Registers a code reference to be executed after the surrounding scope has been compiled. |
version 0.25
This is the implementation of B::Hooks::EndOfScope based on Variable::Magic, which is an XS module dependent on a compiler. It will always be automatically preferred if Variable::Magic is available.
on_scope_endon_scope_end { ... };
on_scope_end $code;
Registers $code to be executed after the surrounding scope has been compiled.
This is exported by default. See Sub::Exporter on how to customize it.
Bugs may be submitted through the RT bug tracker (https://rt.cpan.org/Public/Dist/Display.html?Name=B-Hooks-EndOfScope) or bug-B-Hooks-EndOfScope AT rt.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.
perl v5.32.1 2021-10-15 B::Hooks::EndOfScope::XS(3pm)
Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-15 06:03 @216.73.216.208
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)