tiny perl getopt module patch

edward tailbert@yahoo.com
Mon Mar 12 08:51:00 GMT 2001


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



More information about the Cygwin-apps mailing list