in reply to Re^3: Getopt::Declare replacement?
in thread Getopt::Declare replacement?

Maybe Getopt::Euclid? From the synopsis:

Getopt::Euclid uses your program's own documentation to create a command-line argument parser. This ensures that your program's documented interface and its actual interface always agree.