[libclass-tiny-perl] 07/07: shut up Perl::Critic
gregor herrmann
gregoa at debian.org
Sun May 31 14:03:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to annotated tag release-0.007
in repository libclass-tiny-perl.
commit 21c9231bbbe3bec609ea80d10abe3e6b4c0c942a
Author: David Golden <dagolden at cpan.org>
Date: Sat Sep 7 16:48:53 2013 -0400
shut up Perl::Critic
---
lib/Class/Tiny.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Class/Tiny.pm b/lib/Class/Tiny.pm
index ba5e050..4825cbc 100644
--- a/lib/Class/Tiny.pm
+++ b/lib/Class/Tiny.pm
@@ -52,7 +52,7 @@ sub _gen_accessor {
}
$sub .= "return \$_[0]{$name} } else { return \$_[0]{$name}=\$_[1] } }";
- eval "package $pkg; $sub";
+ eval "package $pkg; $sub"; ## no critic
Carp::croak("Failed to generate attributes for $pkg: $@\n") if $@;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-tiny-perl.git
More information about the Pkg-perl-cvs-commits
mailing list