in reply to Re^2: OT: Design question
in thread OT: Design question

> 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:
use base 'Handler::Email'; sub email { 'green2341@place.com' }
And in Handler::Email you do:
sub handle { my $email = $self->email; # send email # ... }
I think you get the point.
So you don't have to duplicate similar code.