summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/interactive.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 7f5a93934..8ae3401c9 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -254,6 +254,8 @@ sub ask_from__add_modify_remove {
my ($o, $title, $message, $l, %callback) = @_;
die "ask_from__add_modify_remove only handles one item" if @$l != 1;
+ $callback{$_} or internal_error("missing callback $_") foreach qw(Add Modify Remove);
+
if ($o->can('ask_from__add_modify_removeW')) {
ask_from__add_modify_removeW($o, $title, $message, $l, %callback);
} else {