From 4e0d859b2190d7e426e044b6f38d18f5dfa6c213 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 18 Mar 2010 00:04:06 +0000 Subject: [PATCH] Missing ->new constructor git-svn-id: svn://svn.open-ils.org/ILS/trunk@15896 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/support-scripts/marc_stream_importer.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/support-scripts/marc_stream_importer.pl b/Open-ILS/src/support-scripts/marc_stream_importer.pl index 865792af08..668dfa17ca 100755 --- a/Open-ILS/src/support-scripts/marc_stream_importer.pl +++ b/Open-ILS/src/support-scripts/marc_stream_importer.pl @@ -193,7 +193,7 @@ sub process_batch_data { 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; -- 2.11.0