diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-01-08 01:58:23 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-01-08 01:58:23 +0000 |
commit | 76744544cb6ae5732994b9a9c773a7e07222d952 (patch) | |
tree | 93ac5dd67f9a5ee757ce874aa63aecb07fd3cbb5 /lib | |
parent | 1a6a08e50475cb8d33e78344e91bc4af8c4d62f9 (diff) | |
download | perl-76744544cb6ae5732994b9a9c773a7e07222d952.tar.gz |
Update to Getopt::Long 2.24_02, from Johan Vromans.
p4raw-id: //depot/perl@8360
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Getopt/Long.pm | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/lib/Getopt/Long.pm b/lib/Getopt/Long.pm index 0eea664b3e..e933c483fd 100644 --- a/lib/Getopt/Long.pm +++ b/lib/Getopt/Long.pm @@ -6,13 +6,13 @@ package Getopt::Long; # Author : Johan Vromans # Created On : Tue Sep 11 15:00:12 1990 # Last Modified By: Johan Vromans -# Last Modified On: Wed Nov 8 21:36:20 2000 -# Update Count : 740 +# Last Modified On: Sat Jan 6 17:12:27 2001 +# Update Count : 748 # Status : Released ################ Copyright ################ -# This program is Copyright 1990,2000 by Johan Vromans. +# This program is Copyright 1990,2001 by Johan Vromans. # This program is free software; you can redistribute it and/or # modify it under the terms of the Perl Artistic License or the # GNU General Public License as published by the Free Software @@ -30,19 +30,24 @@ package Getopt::Long; ################ Module Preamble ################ +use 5.004; + use strict; -BEGIN { - require 5.004; - use Exporter (); - use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); - $VERSION = "2.24_01"; +use vars qw($VERSION $VERSION_STRING); +$VERSION = 2.24_02; +$VERSION_STRING = "2.24_02"; - @ISA = qw(Exporter); +use Exporter; +use AutoLoader qw(AUTOLOAD); + +use vars qw(@ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); +@ISA = qw(Exporter); +%EXPORT_TAGS = qw(); +BEGIN { + # Init immediately so their contents can be used in the 'use vars' below. @EXPORT = qw(&GetOptions $REQUIRE_ORDER $PERMUTE $RETURN_IN_ORDER); - %EXPORT_TAGS = qw(); @EXPORT_OK = qw(); - use AutoLoader qw(AUTOLOAD); } # User visible variables. |