in reply to Re: deriving usage from Getopts::Long
in thread deriving usage from Getopts::Long
The parameter description is just a string passed to G::D. The string can be built up piecemeal by modules as they load (or perhaps each module adds a key to a hash, and after all modules are loaded, the hash is processed into a string).
The code callbacks are called "actions" in the G::D documentation. Parameter checking syntax, either by fundamental type (e.g., integer), regex, or code block, is already provided.
Perhaps I should develop a helper module for G::D to do what you suggest?
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: deriving usage from Getopts::Long
by Tanktalus (Canon) on Jul 30, 2005 at 15:05 UTC |