Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 68789
Status: new
Priority: 0/
Queue: Getopt-Lucid

People
Owner: Nobody in particular
Requestors: kmcgrath [...] baknet.com
Cc:
AdminCc:

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



Subject: Feature request: required_or, needs_or
Thought it might be nice to add a couple features required_or and needs_or. Each will let the user define one and only one option from a set of choices. A real world example may be that your program accepts a userid or a username. One of but not both options are required to run successfully. If this is something you'd like to look at I've written the code, tests and docs for the changes here: https://github.com/kmcgrath/getopt- lucid/tree/needs_or