[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: loncom /xml lonxml.pm
From: raeburn <raeburn () source ! lon-capa ! org>
Date: 2017-11-12 23:10:33
Message-ID: cvsraeburn1510528233 () cvsserver
[Download RAW message or body]
raeburn Sun Nov 12 23:10:33 2017 EDT
Modified files:
/loncom/xml lonxml.pm
Log:
- Use three-argument open() to separate file mode from the filename.
Index: loncom/xml/lonxml.pm
diff -u loncom/xml/lonxml.pm:1.558 loncom/xml/lonxml.pm:1.559
--- loncom/xml/lonxml.pm:1.558 Sun Sep 24 01:52:53 2017
+++ loncom/xml/lonxml.pm Sun Nov 12 23:10:33 2017
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.558 2017/09/24 01:52:53 raeburn Exp $
+# $Id: lonxml.pm,v 1.559 2017/11/12 23:10:33 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2274,7 +2274,7 @@
sub dump_insertlist {
my ($ext) = @_;
- open(XML,">/tmp/insertlist.xml.$ext");
+ open(XML,">","/tmp/insertlist.xml.$ext");
print XML ("<insertlist>");
my $i=0;
_______________________________________________
LON-CAPA-cvs mailing list
LON-CAPA-cvs@mail.lon-capa.org
http://mail.lon-capa.org/mailman/listinfo/lon-capa-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic