man > B::Hooks::EndOfScope::PP

πŸ“› NAME

B::Hooks::EndOfScope::PP - Execute code after a scope finished compilation - PP implementation

πŸš€ Quick Reference

Use CaseCommandDescription
Execute code block at scope endon_scope_end { ... }Register a block to run after the current scope is compiled
Execute coderef at scope endon_scope_end $codeRegister a subroutine reference for post-compilation
Force pure‑perl implementation$ENV{B_HOOKS_ENDOFSCOPE_IMPLEMENTATION} = 'PP'Use the PP version even when XS is available

🏷️ VERSION

version 0.25

πŸ“˜ DESCRIPTION

This is the pure-perl implementation of B::Hooks::EndOfScope based only on modules available as part of the perl core. Its leaner sibling B::Hooks::EndOfScope::XS will be automatically preferred if all dependencies are available and $ENV{B_HOOKS_ENDOFSCOPE_IMPLEMENTATION} is not set to 'PP'.

βš™οΈ FUNCTIONS

🏁 on_scope_end

    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 Sub::Exporter on how to customize it.

πŸ†˜ SUPPORT

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 <mailto:bug-B-Hooks-EndOfScope AT rt.org>).

✍️ AUTHORS

πŸ“œ COPYRIGHT AND LICENCE

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.

B::Hooks::EndOfScope::PP
πŸ“› NAME πŸš€ Quick Reference 🏷️ VERSION πŸ“˜ DESCRIPTION βš™οΈ FUNCTIONS
🏁 on_scope_end
πŸ†˜ SUPPORT ✍️ AUTHORS πŸ“œ COPYRIGHT AND LICENCE

Generated by phpman v4.9.26-5-g7740029 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-08-16 09:54 @216.73.216.208
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!