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

Re: Method inheritance

by jdporter (Canon)
on May 11, 2012 at 17:28 UTC ( #970068=note: print w/ replies, xml ) Need Help??


in reply to Method inheritance

Does the call to "_dosomething" need to be prefixed by an explicit package name or self object?

Yes.

Use of inherited AUTOLOAD for non-method two::_dosomething() is deprec +ated

AUTOLOAD is for function resolution; inheritance is for method resolution. If you're going to mix them, you need to be very careful.

I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.


Comment on Re: Method inheritance
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2013-05-25 20:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (520 votes), past polls