p4raw-id: //depot/perl@30442
}
gvp = (GV**)hv_fetchs(stash, "ISA", FALSE);
- av = (gvp && (gv = *gvp) && gv != (GV*)&PL_sv_undef) ? GvAV(gv) : NULL;
+ av = (gvp && (gv = *gvp) && isGV_with_GP(gv)) ? GvAV(gv) : NULL;
/* create and re-create @.*::SUPER::ISA on demand */
if (!av || !SvMAGIC(av)) {
use warnings;
require './test.pl';
-plan( tests => 154 );
+plan( tests => 155 );
# type coersion on assignment
$foo = 'foo';
"PERL_DONT_CREATE_GVSV shouldn't affect thingy syntax under strict");
}
+{
+ # Bug reported by broquaint on IRC
+ *slosh::{HASH}->{ISA}=[];
+ slosh->import;
+ pass("gv_fetchmeth coped with the unexpected");
+}
__END__
Perl
Rules