#!/usr/bin/perl -w
# Regression test some quirky behavior of base.pm.
use
strict;
{
sub
foo { 42 }
base->
import
(
qw(Middle Parent)
);
}
is_deeply [
@Child::ISA
], [
qw(Middle)
],
'base.pm will not add to @ISA if you already are-a'
;
#!/usr/bin/perl -w
# Regression test some quirky behavior of base.pm.
use
strict;
{
sub
foo { 42 }
base->
import
(
qw(Middle Parent)
);
}
is_deeply [
@Child::ISA
], [
qw(Middle)
],
'base.pm will not add to @ISA if you already are-a'
;