[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Sat Dec 18 21:47:19 EST 2021
raeburn Sun Dec 19 02:47:19 2021 EDT
Modified files: (Branch: version_2_11_X)
/loncom/lonnet/perl lonnet.pm
Log:
- For 2.11
Backport 1.1475
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1172.2.142 loncom/lonnet/perl/lonnet.pm:1.1172.2.143
--- loncom/lonnet/perl/lonnet.pm:1.1172.2.142 Tue Dec 14 20:23:40 2021
+++ loncom/lonnet/perl/lonnet.pm Sun Dec 19 02:47:19 2021
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1172.2.142 2021/12/14 20:23:40 raeburn Exp $
+# $Id: lonnet.pm,v 1.1172.2.143 2021/12/19 02:47:19 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4311,7 +4311,7 @@
next if (($num == 1) && ($csvoptions{'hdr'} == 1));
$line =~ s{[\r\n]+$}{};
my %found;
- my @values = split(/,/,$line);
+ my @values = split(/,/,$line,-1);
my ($qstart,$record);
for (my $i=0; $i<@values; $i++) {
if ((($qstart ne '') && ($i > $qstart)) ||
More information about the LON-CAPA-cvs
mailing list