Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Package level scope callbacks.

by ambrus (Abbot)
on Aug 01, 2004 at 14:48 UTC ( #379080=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    BEGIN { 
    sub DB::sub { 
    ...
    }
    sub g { T::f($_[0]."a"); }; 
    print g("b");
    
  2. or download this
    { 
    for $n (keys %T::) { if (defined &{$T::{$n}}) {
    ...
    sub l { -5..4; }
    }
    sub g { T::f($_[0]."a"); }; g("b");
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://379080]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2021-05-15 00:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (150 votes). Check out past polls.

    Notices?