[libdist-zilla-plugin-test-podspelling-perl] 05/13: add some comments
Axel Beckert
abe at deuxchevaux.org
Mon May 25 10:03:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to annotated tag 2.004000
in repository libdist-zilla-plugin-test-podspelling-perl.
commit 511d4af043f535a262a79ccf113909f4d3bf4451
Author: Caleb Cushing <xenoterracide at gmail.com>
Date: Thu Feb 14 18:54:22 2013 -0600
add some comments
Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index 5d49a56..4245c52 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -54,8 +54,10 @@ has directories => (
sub add_stopword {
my ( $self, $data ) = @_;
+ # words must be greater than 2 characters
my ( $word ) = $data =~ /(\w{2,})/uxms;
+ # log won't like an undef
return unless $word;
$self->log_debug( 'add stopword: ' . $word );
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-plugin-test-podspelling-perl.git
More information about the Pkg-perl-cvs-commits
mailing list