summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-10-08 07:17:01 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-10-08 07:17:01 +0000
commitc305c6a05369da2338dc1201b35b0dff2e8d6a5d (patch)
tree0b57fc147d6205a64faeed08cfa3d780cfff9c46
parentc3ed7a6a3be36ce7c8d958cb32b70c4825b2bf9b (diff)
downloadperl-c305c6a05369da2338dc1201b35b0dff2e8d6a5d.tar.gz
extend change#2299 to C<use> (fixes scoping problems in
C<if (...) { use foo; ... }>) p4raw-link: @2299 on //depot/perl: 7ad382f40c272949663b62a641674bd9771ee3b8 p4raw-id: //depot/perl@4314
-rw-r--r--op.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/op.c b/op.c
index 267039a294..b0a5bc4fb3 100644
--- a/op.c
+++ b/op.c
@@ -2999,6 +2999,7 @@ Perl_utilize(pTHX_ int aver, I32 floor, OP *version, OP *id, OP *arg)
newSTATEOP(0, Nullch, veop)),
newSTATEOP(0, Nullch, imop) ));
+ PL_hints |= HINT_BLOCK_SCOPE;
PL_copline = NOLINE;
PL_expect = XSTATE;
}