As for shared code, your code in Widget will look something like:
sub some_method { my $self = shift; # Do stuff with $self. # At this point, $self will be a Widget::CheckBox }
If that doesn't help, please reply to my post with clarification. (Do not change your base post!)
In reply to Re: has-a in Perl
by dragonchild
in thread has-a in Perl
by skazat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |