summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2012-01-21 00:49:50 (GMT)
committerChristian Pointner <equinox@helsinki.at>2012-01-21 00:49:50 (GMT)
commite4e5e7f66cd3d78310bf408f90f0e05d7ef8a6d9 (patch)
tree26f8682448d5ed46bee2ab88d70fda891f5adff7
parente203e5fd849788fae923c3a9e5d9a03c6f29affc (diff)
fixed rhimport.pm
-rw-r--r--rhimport.pm4
1 files changed, 2 insertions, 2 deletions
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 '';