Eric Wilhelm <[email protected]> writes: > So, say the first half of the innards of foo() are being refactored to > bar(), which will also take the original parameters in the same form: > > sub foo { > my $self = shift; > my %bar = $self->bar(@_); >
Don't forget SUPER:
sub foo {
my $self = shift;
my %bar = $self->SUPER::foo(@_);
-- Johan
