On Tue Dec 08 14:17:51 2009, GLEACH wrote:
Show quoted text> If '=begin stopwords ... =end stopwords' is at the end of the file,
> perlcritic does not discover them. Unfortunately Pod::Usage craps out if
> they are not at the end.
This does not look to me like a Perl::Critic bug. The documentation for
Perl::Critic::Policy::Documentation::PodSpelling 1.105 says "To add
exceptions on a module-by-module basis, add 'stopwords' as described in
Pod::Spell." The documentation for Pod::Spell says that stopwords take
effect _after_ they are specified, so stopwords defined at the end of
the file do nothing.
I am also unable to make Pod::Usage 1.36 "crap out" by putting stop
words above the bottom of the POD.
If you can reproduce your Pod::Usage problem with the current version of
Pod::Usage in a reasonably short script, you might want to report a bug
in Pod::Usage. If you want Pod::Spell to recognize stopwords before they
are specified, you might try submitting an enhancement request to
Pod::Spelling.