diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-26 05:12:24 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-07-26 05:12:24 +0000 |
commit | a6d7165678aed89f828954d0fcb2e714844ad7d6 (patch) | |
tree | 80ae7cc1149278634c955c1f15c9bae2d6e8306d /lib/getopt.pl | |
parent | 4802d5d799ab971f97d7df94b7f1637c213350a8 (diff) | |
download | perl-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.pl | 10 |
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 |