Skip Menu |

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

Report information
The Basics
Id: 23872
Status: new
Priority: 0/
Queue: Getopt-Casual

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

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



Subject: Module should handle switch post-processing
The keys of %ARGV should be normalized to improve usability and minimize post-processing; the module is there to do the work for the user afterall. It is unfortunately not possible to simply remove the leading dashes because of the odd choice to include non swtiches in %ARGV, but all switches could be stored in the hash as -key. This would still allow for non-switches in %ARGV, as well as easily distinguishable and uniform naming for switches. An even better scheme might be to store the non-switches with a leading underscore, and the switches with no dashes.