Message-ID: <Pine.LNX.4.10.
9909292326280.5599-100000@localhost.localdomain>
p4raw-id: //depot/perl@4254
}
# Reserve a place in svsect and xpvcvsect and record indices
my $gv = $cv->GV;
- my $cvstashname = $gv->STASH->NAME;
- my $cvname = $gv->NAME;
+ my ($cvname, $cvstashname);
+ if ($$gv){
+ $cvname = $gv->NAME;
+ $cvstashname = $gv->STASH->NAME;
+ }
my $root = $cv->ROOT;
my $cvxsub = $cv->XSUB;
#INIT is removed from the symbol table, so this call must come
{
no strict 'refs';
$unused_sub_packages{$package} = 1;
- if (@{$package.'::ISA'})
+ if (defined @{$package.'::ISA'})
{
foreach my $isa (@{$package.'::ISA'})
{