p4raw-id: //depot/perl@30444
use warnings;
require './test.pl';
-plan( tests => 159 );
+plan( tests => 160 );
# type coersion on assignment
$foo = 'foo';
$CORE::GLOBAL::{"readline"}=[];
eval "no warnings; <STDOUT>";
is($@, '', "Can't trip up readline overloading");
+
+ $CORE::GLOBAL::{"readpipe"}=[];
+ eval "`` if 0";
+ is($@, '', "Can't trip up readpipe overloading");
}
__END__
Perl
&& GvCVu(gv_readpipe) && GvIMPORTED_CV(gv_readpipe))
||
((gvp = (GV**)hv_fetchs(PL_globalstash, "readpipe", FALSE))
- && (gv_readpipe = *gvp) != (GV*)&PL_sv_undef
+ && (gv_readpipe = *gvp) && isGV_with_GP(gv_readpipe)
&& GvCVu(gv_readpipe) && GvIMPORTED_CV(gv_readpipe)))
{
PL_lex_op = (OP*)newUNOP(OP_ENTERSUB, OPf_STACKED,