summaryrefslogtreecommitdiffstats
path: root/perl-install/run_program.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-15 12:39:00 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-15 12:39:00 +0000
commit7f6889cc228cfdfe02cf4db674c560643aa6a71d (patch)
tree1758e645f4895e3a5a2b56df1325371214dda12a /perl-install/run_program.pm
parentf10f245015f67547e706f07f1e9340ccc72f313b (diff)
downloaddrakx-7f6889cc228cfdfe02cf4db674c560643aa6a71d.tar
drakx-7f6889cc228cfdfe02cf4db674c560643aa6a71d.tar.gz
drakx-7f6889cc228cfdfe02cf4db674c560643aa6a71d.tar.bz2
drakx-7f6889cc228cfdfe02cf4db674c560643aa6a71d.tar.xz
drakx-7f6889cc228cfdfe02cf4db674c560643aa6a71d.zip
s/wantarray/wantarray()/
Diffstat (limited to 'perl-install/run_program.pm')
-rw-r--r--perl-install/run_program.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index 6d5a36c30..71f4cee03 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -21,13 +21,13 @@ sub get_stdout {
my ($name, @args) = @_;
my @r;
run($name, '>', \@r, @args) or return;
- wantarray ? @r : join('', @r);
+ wantarray() ? @r : join('', @r);
}
sub rooted_get_stdout {
my ($root, $name, @args) = @_;
my @r;
rooted($root, $name, '>', \@r, @args) or return;
- wantarray ? @r : join('', @r);
+ wantarray() ? @r : join('', @r);
}
sub run { raw({}, @_) }