in reply to Using PerlDoc to define the program arguments
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Using PerlDoc to define the program arguments
by Pat Hourigan (Initiate) on Mar 29, 2012 at 15:29 UTC |