summaryrefslogtreecommitdiff
path: root/lib/getopt.pl
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-26 05:12:24 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-26 05:12:24 +0000
commita6d7165678aed89f828954d0fcb2e714844ad7d6 (patch)
tree80ae7cc1149278634c955c1f15c9bae2d6e8306d /lib/getopt.pl
parent4802d5d799ab971f97d7df94b7f1637c213350a8 (diff)
downloadperl-a6d7165678aed89f828954d0fcb2e714844ad7d6.tar.gz
add disclaimer about perl 4 libraries (modified version of
patch suggested by Clinton Pierce <cpierce1@ford.com>) p4raw-id: //depot/perl@3759
Diffstat (limited to 'lib/getopt.pl')
-rw-r--r--lib/getopt.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/getopt.pl b/lib/getopt.pl
index f871e41850..77d8d899a4 100644
--- a/lib/getopt.pl
+++ b/lib/getopt.pl
@@ -1,5 +1,13 @@
;# $RCSfile: getopt.pl,v $$Revision: 4.1 $$Date: 92/08/07 18:23:58 $
-
+#
+# This library is no longer being maintained, and is included for backward
+# compatibility with Perl 4 programs which may require it.
+#
+# In particular, this should not be used as an example of modern Perl
+# programming techniques.
+#
+# Suggested alternatives: Getopt::Long or Getopt::Std
+#
;# Process single-character switches with switch clustering. Pass one argument
;# which is a string containing all switches that take an argument. For each
;# switch found, sets $opt_x (where x is the switch name) to the value of the