Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Just another Perl shrine
 
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 meditating upon the Monastery: (4)
As of 2014-04-20 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (487 votes), past polls