summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-12-04 17:40:03 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-12-04 17:40:03 +0000
commit3383b75cf59ce2f84f42bcc52fd9466c622aa056 (patch)
tree7a31471ff6fd8932e3ad513b0181c67be7928a33 /perl-install/interactive.pm
parent517fc0730e017fb9b231b575f29da8d81bf1de7f (diff)
downloaddrakx-3383b75cf59ce2f84f42bcc52fd9466c622aa056.tar
drakx-3383b75cf59ce2f84f42bcc52fd9466c622aa056.tar.gz
drakx-3383b75cf59ce2f84f42bcc52fd9466c622aa056.tar.bz2
drakx-3383b75cf59ce2f84f42bcc52fd9466c622aa056.tar.xz
drakx-3383b75cf59ce2f84f42bcc52fd9466c622aa056.zip
"require log" causes some pb, perl thinking that "log" is the log() function. So replace it with require 'log.pm' (perl_checker will handle this)
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index acd33624c..457abca2a 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -104,7 +104,7 @@ sub vnew {
if ($su && $>) {
die "you must be root to run this program";
}
- require log;
+ require 'log.pm'; #- "require log" causes some pb, perl thinking that "log" is the log() function
undef *log::l;
*log::l = sub {}; # otherwise, it will bother us :(
require interactive::newt;
@@ -302,7 +302,7 @@ sub ask_from_normalize {
if ($_->{list} && $_->{not_edit} && !$_->{allow_empty_list}) {
if (@{$_->{list}} == ()) {
eval {
- require log;
+ require 'log.pm'; #- "require log" causes some pb, perl thinking that "log" is the log() function
log::l("ask_from_normalize: empty list for $_->{label}\n" . backtrace());
};
}