See Pod::Usage.
As a side note, at least I can't do much with phrases like "annotate their component impl with the defined argument" and "then the argument will not be injected into the class.". If you can make it more clear what it should mean (unless it applies to Pod::Usage), that can help us help you better. The terms "component" and "injection" are not well-defined when talking about Perl objects.
If you want to "enforce" parameters in a Java style, including the horrible, overly verbose and completely unhelpful backtraces, Params::Validate provides all of these features.
In reply to Re: Using PerlDoc to define the program arguments
by Corion
in thread Using PerlDoc to define the program arguments
by Pat Hourigan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |