summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-07 01:25:45 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-07 01:25:45 +0000
commit645a015198b93d019d275aec4be82d15ca799114 (patch)
tree055597cf81b177241020ddbb540e4ef494d4fb32 /perl-install/interactive.pm
parenta602d02f16f68fcd0d67178b69268e64334ddae7 (diff)
downloaddrakx-backup-do-not-use-645a015198b93d019d275aec4be82d15ca799114.tar
drakx-backup-do-not-use-645a015198b93d019d275aec4be82d15ca799114.tar.gz
drakx-backup-do-not-use-645a015198b93d019d275aec4be82d15ca799114.tar.bz2
drakx-backup-do-not-use-645a015198b93d019d275aec4be82d15ca799114.tar.xz
drakx-backup-do-not-use-645a015198b93d019d275aec4be82d15ca799114.zip
nicer debug message
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index c92215b31..a09f68f37 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -291,6 +291,7 @@ sub ask_from {
sub ask_from_normalize {
my ($_o, $common, $l) = @_;
+ ref($l) eq 'ARRAY' or internal_error('ask_from_normalize');
foreach my $e (@$l) {
if (my $li = $e->{list}) {
ref($e->{val}) =~ /SCALAR|REF/ or internal_error($e->{val} ? "field {val} must be a reference (it is $e->{val})" : "field {val} is mandatory"); #-#