summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/User/_perl_modules1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 835ea5c19..e1050bffa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-04-27  Adam Spiers <adam@spiers.net>
+
+	* 10949: Completion/User/_perl_modules: print warning when
+	perl not found on PATH forces guessing of @INC
+
 2000-04-26  Sven Wischnowsky  <wischnow@informatik.hu-berlin.de>
 
 	* 10933: Completion/Commands/_bash_completions,
diff --git a/Completion/User/_perl_modules b/Completion/User/_perl_modules
index 01c2eefa5..c6ea93f4c 100644
--- a/Completion/User/_perl_modules
+++ b/Completion/User/_perl_modules
@@ -31,6 +31,7 @@ if [[ ${+_perl_modules} -eq 0 ]]; then
     else
       # If perl isn't there, one wonders why the user's trying to
       # complete Perl modules.  Maybe her $path is wrong?
+      _message "Didn't find perl on \$PATH; guessing @INC ..."
 
       setopt localoptions extendedglob
       inc=( /usr/lib/perl5{,/{site_perl/,}<5->.([0-9]##)}(N)