From e4e5e7f66cd3d78310bf408f90f0e05d7ef8a6d9 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 21 Jan 2012 00:49:50 +0000 Subject: fixed rhimport.pm 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