summaryrefslogtreecommitdiff
path: root/perly.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1997-11-23 07:32:24 +0000
committerGurusamy Sarathy <gsar@cpan.org>1997-11-23 07:32:24 +0000
commit977336f534851e24a2161d3011e030ea4043a2ae (patch)
tree07beb54d20d60e02081f980535a2c7bb65bc07b0 /perly.c
parent0da4822f11e97ce202166899552c06d720eb835a (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perly.c b/perly.c
index 9ae4211943..7117566c20 100644
--- a/perly.c
+++ b/perly.c
@@ -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: