anithri has asked for the wisdom of the Perl Monks concerning the following question:
I have a CGI::Application based module that is rapidly becoming unwieldy in it's size. I broke the modules subs into various subclasses. and then used:
package NursingOptions; use base qw/NursingOptions::Nurse, NursingOptions::Misc, NursingOption +s::Certifications/;
I assumed that the base class would simply inherit the subs of the various modules and I could go on using the base class as I had before.
Hoever, I'm getting errors with that method.
So.
Even if it's only for development purposes, What is the best way to break up a large module into smaller ones?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Breaking up Large Modules.
by dragonchild (Archbishop) on Apr 11, 2004 at 03:57 UTC | |
|
Re: Breaking up Large Modules.
by jeffa (Bishop) on Apr 11, 2004 at 14:46 UTC |