From: Robin Houston Date: Mon, 17 Dec 2001 15:51:54 +0000 (+0000) Subject: ...while $var = glob(...) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6531c3e64341456e3e8916932e223973bb680529;p=p5sagit%2Fp5-mst-13.2.git ...while $var = glob(...) Message-ID: <20011217155153.A311@robin.kitsite.com> p4raw-id: //depot/perl@13738 --- diff --git a/op.c b/op.c index cb891c4..a35c919 100644 --- a/op.c +++ b/op.c @@ -4073,7 +4073,7 @@ Perl_newLOOPOP(pTHX_ I32 flags, I32 debuggable, OP *expr, OP *block) case OP_SASSIGN: if (k1->op_type == OP_READDIR || k1->op_type == OP_GLOB - || (k1->op_type == OP_NULL && k1->op_targ == OP_NULL) + || (k1->op_type == OP_NULL && k1->op_targ == OP_GLOB) || k1->op_type == OP_EACH) expr = newUNOP(OP_DEFINED, 0, expr); break;