summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_auto_install.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/install_steps_auto_install.pm
parent9836f3fe7d2fef5e86015234ebb223afe7ddb844 (diff)
downloaddrakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar
drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar.gz
drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar.bz2
drakx-ab822df75cf6884051525b61dd3e21f2254994b4.tar.xz
drakx-ab822df75cf6884051525b61dd3e21f2254994b4.zip
perl_checker compliance ("ref" now need parentheses in many case)
Diffstat (limited to 'perl-install/install_steps_auto_install.pm')
-rw-r--r--perl-install/install_steps_auto_install.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_steps_auto_install.pm b/perl-install/install_steps_auto_install.pm
index bc2a07fe6..d13accd73 100644
--- a/perl-install/install_steps_auto_install.pm
+++ b/perl-install/install_steps_auto_install.pm
@@ -33,7 +33,7 @@ sub new {
goto &{$::{$interactiveClass . "::"}{new}};
} else {
@ISA = ('install_steps_auto_install_non_interactive', @ISA);
- (bless {}, ref $type || $type)->install_steps::new($o);
+ (bless {}, ref($type) || $type)->install_steps::new($o);
}
}
@@ -87,7 +87,7 @@ sub rebootNeeded {
}
sub ask_warn {
- log::l(ref $_[1] ? join " ", @{$_[1]} : $_[1]);
+ log::l(ref($_[1]) ? join " ", @{$_[1]} : $_[1]);
}
sub wait_message {}