diff options
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 4e1f9662b..79df5be2c 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -145,9 +145,8 @@ sub ask_from_entries($$$$;$%) { sub ask_from_entries_refH($$$;$%) { my ($o, $title, $message, $h, %callback) = @_; - ask_from_entries_ref($o, $title, $message, - [ grep_index { even($::i) } @$h ], - [ grep_index { odd($::i) } @$h ], + ask_from_entries_ref($o, $title, $message, + list2kv(@$h), %callback); } |