Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Calls the caller's method

by daxim (Chaplain)
on Jul 10, 2012 at 15:56 UTC ( #980894=note: print w/ replies, xml ) Need Help??


in reply to Calls the caller's method

When sub Bar::bar executes, the package Foo is already loaded and the symbol Foo::foo is already installed (as subroutine).


Comment on Re: Calls the caller's method
Replies are listed 'Best First'.
Re^2: Calls the caller's method
by anazawa (Scribe) on Jul 10, 2012 at 17:43 UTC
    That makes sense. Foo::foo() is globalized, right? I remember 'our' declaration globalizes variables.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-09-03 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (93 votes), past polls