summaryrefslogtreecommitdiff
path: root/lib/Term/Complete.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Term/Complete.pm')
-rw-r--r--lib/Term/Complete.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Term/Complete.pm b/lib/Term/Complete.pm
index 884f83fa90..bdab2ad81d 100644
--- a/lib/Term/Complete.pm
+++ b/lib/Term/Complete.pm
@@ -71,6 +71,8 @@ CONFIG: {
}
sub Complete {
+ my($prompt, @cmp_list, $return, @match, $l, $test, $cmp, $r);
+
$prompt = shift;
if (ref $_[0] || $_[0] =~ /^\*/) {
@cmp_lst = sort @{$_[0]};