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().
In reply to Re: How to add functions to an existing module?
by ysth
in thread How to add functions to an existing module?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |