in reply to deriving usage from Getopts::Long

I suggest you take a look at Damian's excellent and weird Getopt::Declare.

pbeckingham - typist, perishable vertebrate.

Replies are listed 'Best First'.
Re^2: deriving usage from Getopts::Long
by Arunbear (Prior) on Jul 29, 2005 at 15:03 UTC
    One caveat with Getopt::Declare is that you must use tabs to separate the switch definitions. I set my editor to convert tabs to spaces (in source files), so would have to turn off that setting to use Getopt::Declare.