Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Overriding arguments in Class::Std superclass constructors

by fce2 (Sexton)
on Aug 13, 2006 at 04:06 UTC ( #567070=note: print w/replies, xml ) Need Help??


in reply to Re: Overriding arguments in Class::Std superclass constructors
in thread Overriding arguments in Class::Std superclass constructors

Yeah, the first sucks because I'd have to do it everywhere I create objects, and all those places have to "know" more than they should.

My workaround is basically the same, except that I removed the init_arg and made myclass::START do the croak-or-set itself.

Thanks for the ideas. I've opened ticket 20966 in RT.

  • Comment on Re^2: Overriding arguments in Class::Std superclass constructors

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2022-09-28 09:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (124 votes). Check out past polls.

    Notices?