Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Question about __PACKAGE__

by ikegami (Patriarch)
on Jan 22, 2010 at 07:20 UTC ( [id://818906]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    { package Foo; sub hello { ... } }
    { package Bar; our @ISA = 'Foo'; }
    ...
    Bar->hello('world');   # Foo::hello('Bar', 'world')
    Foo::hello('world');   # Foo::hello('world')
    Bar::hello('world');   # hello not found in Bar
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-23 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found