summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/test.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-03 13:12:13 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-03 13:12:13 +0000
commit23c259c90cbed0280c9e23b3c9763363c148c472 (patch)
tree608f1f62a585f39703a8f42d83447dfcf045a826 /perl-install/Xconfig/test.pm
parent5d3903d31de512391136aa05e77de530baceb64a (diff)
downloaddrakx-backup-do-not-use-23c259c90cbed0280c9e23b3c9763363c148c472.tar
drakx-backup-do-not-use-23c259c90cbed0280c9e23b3c9763363c148c472.tar.gz
drakx-backup-do-not-use-23c259c90cbed0280c9e23b3c9763363c148c472.tar.bz2
drakx-backup-do-not-use-23c259c90cbed0280c9e23b3c9763363c148c472.tar.xz
drakx-backup-do-not-use-23c259c90cbed0280c9e23b3c9763363c148c472.zip
do not use "local my $F, ...", use "local(my $F, ...) instead
Diffstat (limited to 'perl-install/Xconfig/test.pm')
-rw-r--r--perl-install/Xconfig/test.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/Xconfig/test.pm b/perl-install/Xconfig/test.pm
index aa12d2b5b..307c0ff7a 100644
--- a/perl-install/Xconfig/test.pm
+++ b/perl-install/Xconfig/test.pm
@@ -67,7 +67,7 @@ sub test {
my $b = before_leaving { unlink $f_err };
if (!xtest(":9")) {
- open my $F, $f_err;
+ open(my $F, $f_err);
local $_;
i: while (<$F>) {
@@ -99,7 +99,7 @@ sub test {
}
$::noShadow = 1;
- open my $F, "|perl 2>/dev/null";
+ open(my $F, "|perl 2>/dev/null");
print $F "use lib qw(", join(' ', @INC), ");\n";
print $F q(
BEGIN { $::no_ugtk_init = 1 }