in reply to Using PerlDoc to define the program arguments

Parsing POD is fraught with peril. If you're looking for something like Spring in Perl, see Bread::Board.

(This isn't a common pattern in Perl for a couple of reasons; see also You're Already Using Dependency Injection.


Improve your skills with Modern Perl: the free book.

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