An alternate approach is to use a has-a relationship. In that case Foo::Bar would not inherit from Foo, but would have a property that was an object of type Foo, and would have a login method like this:
sub login { my $self = shift; $self->{base_obj}->login(@_); }
In reply to Re (tilly) 5: Inheriting object data
by tilly
in thread Inheriting object data
by archon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |