summaryrefslogtreecommitdiffstats
path: root/perl-install/any.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/any.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/any.pm')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index e183f46f1..d5033bbe8 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1111,7 +1111,7 @@ sub running_window_manager {
foreach (@window_managers) {
my @pids = fuzzy_pidofs(qr/\b$_\b/) or next;
- return wantarray ? ($_, @pids) : $_;
+ return wantarray() ? ($_, @pids) : $_;
}
undef;
}