summaryrefslogtreecommitdiffstats
path: root/perl-install/commands.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-02-12 11:26:15 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-02-12 11:26:15 +0000
commitab822df75cf6884051525b61dd3e21f2254994b4 (patch)
treeb7bdbb354bc01089ab9f410885e2d81fdb673f3f /perl-install/commands.pm
parent9836f3fe7d2fef5e86015234ebb223afe7ddb844 (diff)
downloaddrakx-backup-do-not-use-ab822df75cf6884051525b61dd3e21f2254994b4.tar
drakx-backup-do-not-use-ab822df75cf6884051525b61dd3e21f2254994b4.tar.gz
drakx-backup-do-not-use-ab822df75cf6884051525b61dd3e21f2254994b4.tar.bz2
drakx-backup-do-not-use-ab822df75cf6884051525b61dd3e21f2254994b4.tar.xz
drakx-backup-do-not-use-ab822df75cf6884051525b61dd3e21f2254994b4.zip
perl_checker compliance ("ref" now need parentheses in many case)
Diffstat (limited to 'perl-install/commands.pm')
-rw-r--r--perl-install/commands.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/commands.pm b/perl-install/commands.pm
index 9e1d9b95c..ab8ab4885 100644
--- a/perl-install/commands.pm
+++ b/perl-install/commands.pm
@@ -267,8 +267,8 @@ sub dd {
$h{$1} = $2;
}
local (*IF, *OF); my ($tmp, $nb, $read);
- ref $h{if} eq 'GLOB' ? (*IF = $h{if}) : sysopen(IF, $h{if}, 0) || die "error: can't open file $h{if}\n";
- ref $h{of} eq 'GLOB' ? (*OF = $h{of}) : sysopen(OF, $h{of}, 0x41) || die "error: can't open file $h{of}\n";
+ ref($h{if}) eq 'GLOB' ? (*IF = $h{if}) : sysopen(IF, $h{if}, 0) || die "error: can't open file $h{if}\n";
+ ref($h{of}) eq 'GLOB' ? (*OF = $h{of}) : sysopen(OF, $h{of}, 0x41) || die "error: can't open file $h{of}\n";
$h{bs} = removeXiBSuffix($h{bs});