summaryrefslogtreecommitdiffstats
path: root/contrib/perl5/lib/getopts.pl
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/perl5/lib/getopts.pl')
-rw-r--r--contrib/perl5/lib/getopts.pl10
1 files changed, 9 insertions, 1 deletions
diff --git a/contrib/perl5/lib/getopts.pl b/contrib/perl5/lib/getopts.pl
index 852aae8..2595819 100644
--- a/contrib/perl5/lib/getopts.pl
+++ b/contrib/perl5/lib/getopts.pl
@@ -1,5 +1,13 @@
;# getopts.pl - a better getopt.pl
-
+#
+# 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
+#
;# Usage:
;# do Getopts('a:bc'); # -a takes arg. -b & -c not. Sets opt_* as a
;# # side effect.
OpenPOWER on IntegriCloud