Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Calls the caller's method

by anazawa (Scribe)
on Jul 10, 2012 at 15:33 UTC ( #980893=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # Foo.pm
    package Foo;
    ...
    Bar->bar;
    
    1;
    
  2. or download this
    # Bar.pm
    package Bar;
    ...
    sub bar { Foo->foo }
    
    1;
    
  3. or download this
    $ ls
    Foo.pm Bar.pm
    $ perl Foo.pm
    Foo::foo was called
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2015-07-02 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (25 votes), past polls