[libdist-zilla-plugin-test-podspelling-perl] 10/11: call on package instead of self

Axel Beckert abe at deuxchevaux.org
Mon May 25 10:03:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 2.002003
in repository libdist-zilla-plugin-test-podspelling-perl.

commit ec13cc0f12c3ed44893394a1b9e1c85c692af536
Author: Caleb Cushing <xenoterracide at gmail.com>
Date:   Wed Apr 4 00:12:37 2012 -0500

    call on package instead of self
    
    Signed-off-by: Caleb Cushing <xenoterracide at gmail.com>
---
 lib/Dist/Zilla/Plugin/Test/PodSpelling.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
index d44f199..17dc05f 100644
--- a/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
+++ b/lib/Dist/Zilla/Plugin/Test/PodSpelling.pm
@@ -89,7 +89,7 @@ around add_file => sub {
 					$file->content,
 					{
 						name          => __PACKAGE__,
-						version       => \$self->VERSION
+						version       => __PACKAGE__->VERSION
 							|| 'bootstrapped version',
 						wordlist      => \$self->wordlist,
 						set_spell_cmd => \$set_spell_cmd,

-- 
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