use parent instead of base
This commit is contained in:
parent
c7273565fe
commit
c59a7f2c49
@ -82,7 +82,7 @@ snippet fore
|
||||
snippet cl
|
||||
package ${1:ClassName};
|
||||
|
||||
use base qw(${2:ParentClass});
|
||||
use parent qw(${2:ParentClass});
|
||||
|
||||
sub new {
|
||||
my $class = shift;
|
||||
|
Loading…
x
Reference in New Issue
Block a user