info > B::Hooks::EndOfScope::PP

📄 B::Hooks::EndOfScope::UserpContributed Perl DocumB::Hooks::EndOfScope::PP(3pm)

📖 NAME

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

🚀 Quick Reference

Use CaseCommandDescription
Register a block of code to run after scope compilationon_scope_end { ... };Execute the block after the surrounding scope is compiled
Register a code referenceon_scope_end $code;Execute the given code reference after scope compilation
Customize export behavioruse B::Hooks::EndOfScope::PP qw( on_scope_end );Import with Sub::Exporter for custom renaming

đŸ“Ļ 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.

perl v5.32.1 2021-10-15 B::Hooks::EndOfScope::PP(3pm)

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 Author: Che Dong Under GNU General Public License
2026-08-16 10:02 @2600:1f28:365:80b0:7cb9:fb:26c1:e368
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!