[LON-CAPA-cvs] cvs: doc /help render.texxml.pl

raeburn raeburn at source.lon-capa.org
Wed Oct 31 23:31:21 EDT 2018


raeburn		Thu Nov  1 03:31:21 2018 EDT

  Modified files:              
    /doc/help	render.texxml.pl 
  Log:
  - Support perl 5.28
  
  
Index: doc/help/render.texxml.pl
diff -u doc/help/render.texxml.pl:1.19 doc/help/render.texxml.pl:1.20
--- doc/help/render.texxml.pl:1.19	Thu May  5 18:59:07 2005
+++ doc/help/render.texxml.pl	Thu Nov  1 03:31:21 2018
@@ -27,7 +27,7 @@
 
 use strict;
 use Fcntl;
-use POSIX qw(tmpnam);
+use File::Temp;
 
 if ( scalar(@ARGV) < 2 )
 {
@@ -57,7 +57,7 @@
     exit();
 }
 
-my $tmpdir = tmpnam();
+my $tmpdir = File::Temp::tempdir();
 my $fileroot = $ARGV[1];
 
 if (substr($fileroot, -7) eq ".texxml")




More information about the LON-CAPA-cvs mailing list