in reply to How to add functions to an existing module?
Unless the superclass (Example::Model, in your example) is poorly written, you shouldn't need to have a sub new in your subclass. Example::Model::new should return a MyApp::Example::Model object when called as MyApp::Example::Model->new().
|
|---|