summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 65b3c895b..76ed30345 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -49,5 +49,10 @@ sub ask_many_from_list($$$$;$) {
$o->ask_many_from_listW($title, $message, $l, $def);
}
+sub ask_from_entry($$$;$) {
+ my ($o, $title, $message, $def) = @_;
+ $message = ref $message ? $message : [ $message ];
+ $o->ask_from_entryW($title, $message, $def);
+}