Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Class::Methodmaker inheritance

by Fletch (Bishop)
on Mar 08, 2004 at 19:42 UTC ( [id://334906]=note: print w/replies, xml ) Need Help??


in reply to Class::Methodmaker inheritance

The methods C::MM makes are no different than those you make yourself. If you're just extending with new methods there shouldn't be any problems so long as @ISA is correct. If you need to override the behavior of the parent class, you might want to use a has-a relationship instead and use C::MM's object slot type to forward on unchanged methods and then redefine whatever in the child class.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-20 14:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found