Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Let a module call a sub of the caller

by ikegami (Pope)
on Sep 06, 2012 at 23:57 UTC ( #992211=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package call_when_scope_is_compiled;
    
    ...
    }
    
    1;
    
  2. or download this
    $ perl -E'
       say "post";
    ...
    pre
    foo!
    post
    
  3. or download this
    $ perl -E'
       {
    ...
    pre
    foo!
    post
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992211]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2016-12-09 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (152 votes). Check out past polls.