summaryrefslogtreecommitdiff
path: root/doop.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-05-07 08:07:02 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-05-07 08:07:02 +0000
commit4c5a6083a6f92a8003034d6119c72e8d828e4613 (patch)
treea4830fa12e559e5ae09e8a508784ae04af935213 /doop.c
parent787eafbd5502f34cb6300ce384514251ed273d04 (diff)
downloadperl-4c5a6083a6f92a8003034d6119c72e8d828e4613.tar.gz
From: Dan Sugalski <sugalskd@osshe.edu>
Date: Mon, 05 Apr 1999 15:38:42 -0700 Message-Id: <3.0.6.32.19990405153842.0367b650@ous.edu> Subject: Re: chomp fails with $/ in fixed-length record mode -- From: Roderick Schertler <roderick@argon.org> Date: Tue, 06 Apr 1999 21:11:37 -0400 Message-ID: <2795.923447497@eeyore.ibcinc.com> Subject: Re: chomp fails with $/ in fixed-length record mode p4raw-id: //depot/perl@3319
Diffstat (limited to 'doop.c')
-rw-r--r--doop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/doop.c b/doop.c
index b93223fc49..ccabba1357 100644
--- a/doop.c
+++ b/doop.c
@@ -831,6 +831,8 @@ do_chomp(register SV *sv)
if (RsSNARF(PL_rs))
return 0;
+ if (RsRECORD(PL_rs))
+ return 0;
count = 0;
if (SvTYPE(sv) == SVt_PVAV) {
register I32 i;