diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-23 07:32:24 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1997-11-23 07:32:24 +0000 |
commit | 977336f534851e24a2161d3011e030ea4043a2ae (patch) | |
tree | 07beb54d20d60e02081f980535a2c7bb65bc07b0 /perly.c | |
parent | 0da4822f11e97ce202166899552c06d720eb835a (diff) | |
download | perl-977336f534851e24a2161d3011e030ea4043a2ae.tar.gz |
Add to docs about the BEGIN { shift } feature. Make the change
yet simpler using CvUNIQUE(compcv) instead of subline (Chip's idea).
p4raw-id: //depot/win32/perl@284
Diffstat (limited to 'perly.c')
-rw-r--r-- | perly.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1767,7 +1767,7 @@ case 56: { char *name = SvPV(((SVOP*)yyvsp[0].opval)->op_sv, na); if (strEQ(name, "BEGIN") || strEQ(name, "END") || strEQ(name, "INIT")) - { CvUNIQUE_on(compcv); subline = -subline; } + CvUNIQUE_on(compcv); yyval.opval = yyvsp[0].opval; } break; case 57: |