diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-01-07 01:25:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-01-07 01:25:45 +0000 |
commit | 645a015198b93d019d275aec4be82d15ca799114 (patch) | |
tree | 055597cf81b177241020ddbb540e4ef494d4fb32 | |
parent | a602d02f16f68fcd0d67178b69268e64334ddae7 (diff) | |
download | drakx-645a015198b93d019d275aec4be82d15ca799114.tar drakx-645a015198b93d019d275aec4be82d15ca799114.tar.gz drakx-645a015198b93d019d275aec4be82d15ca799114.tar.bz2 drakx-645a015198b93d019d275aec4be82d15ca799114.tar.xz drakx-645a015198b93d019d275aec4be82d15ca799114.zip |
nicer debug message
-rw-r--r-- | perl-install/interactive.pm | 1 |
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"); #-# |