Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by fce2 (Sexton)
on Aug 13, 2006 at 04:06 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 17:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found