PodSpelling (run via Perlcritic) complains about "html" even though I've added this to the stopwords:
=for stopwords html
=head2 some function
Generates an index.html page.
=cut
This gets:
robert@saaz:~$ perlcritic --brutal test.pl | grep html
Check the spelling in your POD: html at line 1, column 1. See page 148 of PBP. (Severity: 1)
(I pipe the output through grep to ignore the other complaints in this minimal example that are unrelated to spelling.)
If I change the POD to either use C<index.html> or F<index.html>, or rewrite it as a .html file, or add "index.html" as a stopword, the spell checker is happy. The first makes sense to me (don't check code snippets or file names), but I don't see what the big difference between "index.html" and ".html" is.
Does it work with =for stopwords index.html because it ignores the dot when it's next to white space? I'm just guessing here, though.
Why does my stopword html not work for "index.html" and how can I fix this if I don't want to use C<...> or F<...>?