Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: object oriented Perl advice / constructor creation in child class

by smarthacker67 (Beadle)
on Jul 11, 2018 at 06:48 UTC ( [id://1218281]=note: print w/replies, xml ) Need Help??


in reply to Re: object oriented Perl advice / constructor creation in child class
in thread object oriented Perl advice / constructor creation in child class

Hi Sir,

Thanks for your answer All these A,B,C & D modules have method new so will that cause some conflicts?

  • Comment on Re^2: object oriented Perl advice / constructor creation in child class

Replies are listed 'Best First'.
Re^3: object oriented Perl advice / constructor creation in child class
by Anonymous Monk on Jul 11, 2018 at 07:40 UTC
    Yes, calling multiple inherited SUPER::new() constructors would be a problem (I don't think mro would help, either), which is why I asked you for more details about modules you are trying to put together.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-24 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found