From a57707681b496fae159fdb380864530501a3cfe7 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 21 Jan 2012 00:49:50 +0000 Subject: fixed rhimport.pm git-svn-id: https://svn.helsinki.at/rhimport/trunk@120 7c65635b-ec39-4f67-a626-873dbafdd612 diff --git a/rhimport.pm b/rhimport.pm index 0d7fee8..d9b1097 100644 --- a/rhimport.pm +++ b/rhimport.pm @@ -345,8 +345,8 @@ sub pv_add_note print $writer $title . "\n" . $text; close $writer; waitpid $pid, 0; - $err_out = join('', <$error>); - $read_out = join('', <$reader>); + my $err_out = join('', <$error>); + my $read_out = join('', <$reader>); if ( $? >> 8 ) { print "\n\nPV: adding note returned non-zero value\n"; print "STDERR:\n" . $err_out . "\n" unless $err_out eq ''; -- cgit v0.10.2