summaryrefslogtreecommitdiff
path: root/devel/p5-IO-Prompt/files/patch-Prompt.pm
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-IO-Prompt/files/patch-Prompt.pm')
-rw-r--r--devel/p5-IO-Prompt/files/patch-Prompt.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/p5-IO-Prompt/files/patch-Prompt.pm b/devel/p5-IO-Prompt/files/patch-Prompt.pm
new file mode 100644
index 000000000000..13b7f037dcb4
--- /dev/null
+++ b/devel/p5-IO-Prompt/files/patch-Prompt.pm
@@ -0,0 +1,10 @@
+--- Prompt.pm
++++ Prompt.pm
+@@ -88,6 +88,7 @@
+ @data = map { $flags_alias{$_} || $_ } @data;
+ for (my $i = 0 ; $i < @data ; $i++) {
+ local *_ = \($data[$i]);
++ next unless defined $_;
+ if (ref eq 'HASH') {
+ splice @data, $i + 1, 0, %$_;
+ }