This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
tiny perl getopt module patch
- To: <cygwin-apps at cygwin dot com>
- Subject: tiny perl getopt module patch
- From: "edward" <tailbert at yahoo dot com>
- Date: Mon, 12 Mar 2001 11:51:44 -0500
Getopt::Long has a bug in it, which i think is already fixed in cvs. but for
those of us who use the perl that comes with cygwin, here it is:
--- /usr/lib/perl5/5.6.1/Getopt/Long.pm~ Mon Mar 12 11:48:07 200
+++ /usr/lib/perl5/5.6.1/Getopt/Long.pm Mon Mar 12 11:48:07 2001
@@ -181,7 +181,7 @@
my $save = Getopt::Long::Configure ($self->{settings}, @_);
# Restore orig config and save the new config.
- $self->{settings} = Configure ($save);
+ $self->{settings} = Getopt::Long::Configure ($save);
}
sub getoptions {
cheers,
edward