Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-12-26 02:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (164 votes), past polls