laziness, impatience, and hubris | |
PerlMonks |
Re^3: OT: Design questionby uwevoelker (Pilgrim) |
on Oct 02, 2004 at 14:22 UTC ( [id://395888]=note: print w/replies, xml ) | Need Help?? |
> For example, the Handler::GreenWidget emails to > green2341@place.com and Handler::BlueWidget emails to > blue238882@place.com. And, so on for 80 colors. If you write a base class Handler::Email and within Handler::GreenWidget you do: And in Handler::Email you do: I think you get the point. So you don't have to duplicate similar code.
In Section
Seekers of Perl Wisdom
|
|