diff options
Diffstat (limited to 'perl-install')
-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"); #-# |