Subject: | Ordering of stopwords is important! |
Hello,
I've been using this module for a while and loved it for catching my
typos, ha! However, I've always been puzzled that sometimes it would
fail tests, telling me that "foo" is misspelled. I've added it to the
stopwords list!
After giving up and accepting FAILs sometimes, I somehow arrived at the
solution for this. This module parses the POD and adds stopwords, and
checks the validity of words at the same time. So if you have POD like this:
=head1 DESCRIPTION
foo is the best!
=for stopwords foo
It will fail the test, but if you swap the head1 and stopwords like this:
=for stopwords foo
=head1 DESCRIPTION
foo is the best!
It will PASS, yay! I think this is a situation where many authors could
get tripped over. I don't think the code should be fixed to address
this, but just a mention in the POD would be good enough.
Thanks again!
--
~Apocalypse