diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/interactive.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 5a6d6df97..14c9eb8f0 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -240,7 +240,7 @@ sub ask_from_normalize { foreach my $e (@$l) { if (my $l = $e->{list}) { - if ($e->{sort}) { + if ($e->{sort} || @$l > 10 && !exists $e->{sort}) { my @l2 = map { may_apply($e->{format}, $_) } @$l; my @places = sort { $l2[$a] cmp $l2[$b] } 0 .. $#l2; $e->{list} = $l = [ map { $l->[$_] } @places ]; |