summaryrefslogtreecommitdiff
path: root/lib/complete.pl
diff options
context:
space:
mode:
authorSteffen Mueller <smueller@cpan.org>2009-09-02 18:40:37 +0200
committerSteffen Mueller <smueller@cpan.org>2009-09-02 18:40:37 +0200
commit1aaec2974763f3218f70faa91f2f7ccaaf587af5 (patch)
tree8b6b753b037578d7ab900ecc677173d2535249fd /lib/complete.pl
parente879c7c674245b9a876e1c4ba5181f88494ec4c8 (diff)
downloadperl-1aaec2974763f3218f70faa91f2f7ccaaf587af5.tar.gz
Deprecate complete.pl with a warning
Diffstat (limited to 'lib/complete.pl')
-rw-r--r--lib/complete.pl8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/complete.pl b/lib/complete.pl
index 925ce86e5d..79a184a134 100644
--- a/lib/complete.pl
+++ b/lib/complete.pl
@@ -2,12 +2,18 @@
#
# This library is no longer being maintained, and is included for backward
# compatibility with Perl 4 programs which may require it.
+# This legacy library is deprecated and will be removed in a future
+# release of perl.
#
# In particular, this should not be used as an example of modern Perl
# programming techniques.
#
# Suggested alternative: Term::Complete
-#
+
+warn( "The 'complete.pl' legacy library is deprecated and will be"
+ . " removed in the next major release of perl. Please use the"
+ . " Term::Complete module instead." );
+
;# @(#)complete.pl,v1.1 (me@anywhere.EBay.Sun.COM) 09/23/91
;#
;# Author: Wayne Thompson