- or download this
package Foo;
require Foo::Bar; # load additional methods
...
my $val = $self->_bb ( $args->{'foo'} );
}
1;
- or download this
package Foo; # not Foo::Bar!!!
sub _aa {
...
...;
}
1;
- or download this
sub aa {
my ( $self, $args ) = @_;
require Foo::Bar;
my $val = $self->_aa ( $args->{'bar'} );
}