diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-08 18:35:48 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-08 18:35:48 +0000 |
commit | faa7e5bbaa1a624cf61859998ab6ab0a1323ed35 (patch) | |
tree | 517d38c6e942b647e70d697aa0ce84e049de56eb /op.c | |
parent | e4783991709775389a3fc70c841522b0165cd076 (diff) | |
download | perl-faa7e5bbaa1a624cf61859998ab6ab0a1323ed35.tar.gz |
do FILE should not see outside lexicals (from Rick Delaney
<rick@consumercontact.com>)
p4raw-id: //depot/perl@5620
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -356,8 +356,9 @@ S_pad_findlex(pTHX_ char *name, PADOFFSET newoff, U32 seq, CV* startcv, if (CxREALEVAL(cx)) saweval = i; break; + case OP_DOFILE: case OP_REQUIRE: - /* require must have its own scope */ + /* require/do must have their own scope */ return 0; } break; |