B::Hooks::EndOfScope.3pm

Langue: en

Version: 2008-10-20 (ubuntu - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

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

SYNOPSIS

     on_scope_end { ...  };
 
 

DESCRIPTION

This module allows you to execute code when perl finished compiling the surrounding scope.

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.

SEE ALSO

Sub::Exporter

Scope::Guard

AUTHOR

Florian Ragwitz <rafl@debian.org> Copyright (c) 2008 Florian Ragwitz

This module is free software.

You may distribute this code under the same terms as Perl itself.