in reply to has-a in Perl
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!)
|
|---|