summaryrefslogtreecommitdiff
path: root/rhimport.pm
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)
commita57707681b496fae159fdb380864530501a3cfe7 (patch)
tree26f8682448d5ed46bee2ab88d70fda891f5adff7 /rhimport.pm
parentb410598227da80a48dba3df4246c4426e873c654 (diff)
fixed rhimport.pm
git-svn-id: https://svn.helsinki.at/rhimport/trunk@120 7c65635b-ec39-4f67-a626-873dbafdd612
Diffstat (limited to '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 '';