in reply to Options with optional values and condititions

Looks like you're looking for Getopt::Long::Descriptive.
  • Comment on Re: Options with optional values and condititions