Help for this page
my $local1 = my_module->new(); $local1->func1(); ... use base qw(a_module); sub func1 { shift->do_something1() } sub func2 { shift->do_something2() }
sub new { my $class = shift; return bless a_module->new(), ref($class) || $class; }