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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2016-09-29 03:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (545 votes). Check out past polls.