Skip Menu |

This queue is for tickets about the Getopt-Long CPAN distribution.

Report information
The Basics
Id: 41189
Status: open
Priority: 0/
Queue: Getopt-Long

People
Owner: Nobody in particular
Requestors: MOREGAN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 2.37
Fixed in: (no value)



Subject: Documentation of Configure() return value
In the Getopt::Long source I see that Configure() returns a listref of the current options, which can then be passed back to Configure() to restore the previous state: my $old_config = Getopt::Long::Configure( my changes ); GetOptions( ... ); Getopt::Long::Configure( $old_config ); Can this become a documented part of the API? Thanks for all your work on Getopt::Long, Mike
Where would you (ab)use this for?