autodie::Scope::GuardStack - Online Linux Manual PageSection : 3
Updated : 2020-06-14
Source : perl v5.32.0
Note : Perl Programmers Reference Guide

NAMEautodie::Scope::GuardStack − Hook stack for managing scopes via %^H

SYNOPSIS​ use autodie::Scope::GuardStack; ​ my $stack = autodie::Scope::GuardStack−>new ​ $^H{'my−key'} = $stack; ​ ​ $stack−>push_hook(sub {});

DESCRIPTIONThis class is a stack of hooks to be called in the right order as scopes go away. The stack is only useful when inserted into %^H and will pop hooks as their scope is popped. This is useful for uninstalling or reinstalling subs in a namespace as a pragma goes out of scope. Due to how %^H works, this class is only useful during the compilation phase of a perl module and relies on the internals of how perl handles references in %^H. This module is not a part of autodie's public API.

Methodsnew ​ my $stack = autodie::Scope::GuardStack−>new; Creates a new autodie::Scope::GuardStack. The stack is initially empty and must be inserted into %^H by the creator. push_hook ​ $stack−>push_hook(sub {}); Add a sub to the stack. The sub will be called once the current compile-time scope is left. Multiple hooks can be added per scope

AUTHORCopyright 2013, Niels Thykier <niels@thykier.net>

LICENSEThis module is free software. You may distribute it under the same terms as Perl itself.
0
Johanes Gumabo
Data Size   :   5,720 byte
man-autodie::Scope::GuardStack.3Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   4 / 261,516
Visitor ID   :     :  
Visitor IP   :   3.142.55.138   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|252|autodie::Scope::GuardStack.3|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\| )         (htmlprn|149|autodie::Scope::GuardStack.3|36/37|.el══─{─══. ds --  —  |.el══─{─══. ds -- \|\(em\| )         (parse_manual_page_|252|autodie::Scope::GuardStack.3|43|br══─}─══|'br══─}─══ )         (htmlprn|149|autodie::Scope::GuardStack.3|43|'br══─}─══ |'br══─}─══ )