B::Hooks::EndOfScope::PP(3pm)

B::Hooks::EndOfScope::PP3pm

Execute code after a scope finished compilation - pp implementation

Version

version 0.28

Overview

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 [email protected] <mailto:[email protected]>).

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Authors

•

Florian Ragwitz <[email protected]>

•

Peter Rabbitson <[email protected]>

From perl-b-hooks-endofscope 0.28-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.