use base 'My::Parent::Class'; sub new { my $pkg = shift; my $self = $pkg->SUPER::new(@_); return $self; }
In reply to Re^3: Can locate when called directly, but can't when in @ISA
by perlfan
in thread Can locate when called directly, but can't when in @ISA
by Phemto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |