[open-ils-commits] r15896 - trunk/Open-ILS/src/support-scripts (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Mar 17 20:04:07 EDT 2010


Author: erickson
Date: 2010-03-17 20:04:06 -0400 (Wed, 17 Mar 2010)
New Revision: 15896

Modified:
   trunk/Open-ILS/src/support-scripts/marc_stream_importer.pl
Log:
Missing ->new constructor

Modified: trunk/Open-ILS/src/support-scripts/marc_stream_importer.pl
===================================================================
--- trunk/Open-ILS/src/support-scripts/marc_stream_importer.pl	2010-03-18 00:04:05 UTC (rev 15895)
+++ trunk/Open-ILS/src/support-scripts/marc_stream_importer.pl	2010-03-18 00:04:06 UTC (rev 15896)
@@ -193,7 +193,7 @@
     my $data = shift or $logger->error("process_batch_data called without any data");
     $data or return;
 
-    my ($handle, $tempfile) = File::Temp(DIR => $tempdir) or die "Cannot write tempfile in $tempdir";
+    my ($handle, $tempfile) = File::Temp->new(DIR => $tempdir) or die "Cannot write tempfile in $tempdir";
     print $handle $data;
     close $handle;
        



More information about the open-ils-commits mailing list