Subject: | Perl::Critic::Policy::Documentation::RequirePodSections and core module Pod::Usage don't play well together out of the box. |
Date: | Thu, 21 Jul 2011 14:35:07 -0400 |
To: | bug-Perl-Critic [...] rt.cpan.org |
From: | dillman [...] ria.buffalo.edu |
This is a minor issue/feature request.
Perl::Critic::Policy::Documentation::RequirePodSections wants programs to
have a section named "REQUIRED ARGUMENTS".
The core module Pod::Usage wants programs to have a section named
"ARGUMENTS".
While both modules can be reconfigured to use the other's preference, it
seems desirable for both modules to play well with each other out of the
box.
Perhaps Perl::Critic::Policy::Documentation::RequirePodSections could
detect when Pod::Usage is loaded, either directly or via Getopt::Long and
modify it's defaults?
Thomas J. Dillman
Research Institute on Addictions
1021 Main Street, Buffalo, NY 14203