Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Let a module call a sub of the caller

by moritz (Cardinal)
on Sep 07, 2012 at 10:02 UTC ( #992270=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # file CallMe.pm
    package CallMe;
    ...
    }
    
    1;
    
  2. or download this
    use 5.010;
    use lib '.';
    ...
    
    sub foo { say 42 }
    say 'in mainline';
    
  3. or download this
    in mainline
    42
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992270]
help
Chatterbox?
[marioroy]: choroba, 1nickt, commented on pull request 26.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-10-18 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (250 votes). Check out past polls.

    Notices?