diff options
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r-- | perl-install/interactive.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm index 2f3fb4c15..fe941bd30 100644 --- a/perl-install/interactive.pm +++ b/perl-install/interactive.pm @@ -89,12 +89,13 @@ sub ask_many_from_list($$$$;$) { [ map { $$_ } @$val ] : undef; } -sub ask_from_entry($$$;$) { - my ($o, $title, $message, $def) = @_; +sub ask_from_entry($$$;$%) { + my ($o, $title, $message, $def, %callback) = @_; + $message = ref $message ? $message : [ $message ]; - - $o->ask_from_entryW($title, $message, $def); + $o->ask_from_entries($title, $message, [$def], %callback); +# $o->ask_from_entryW($title, $message, $def); } sub ask_from_entries($$$$;$%) { |