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.

  • Comment on Re: Using PerlDoc to define the program arguments

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
    thanks for the info. will check it out. A little knowledge is a very dangerous thing. I'll create something and post it here.

    hang on to your hat!!