Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

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

by smarthacker67 (Beadle)
on Jul 11, 2018 at 06:48 UTC ( #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? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2023-06-04 19:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (22 votes). Check out past polls.

    Notices?