[libclass-tiny-perl] 02/02: Suppress used once warnings
gregor herrmann
gregoa at debian.org
Sun May 31 14:03:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to annotated tag release-0.010
in repository libclass-tiny-perl.
commit a918073eddd6c2e0fd04fe1c96c55ad50d163a73
Author: David Golden <dagolden at cpan.org>
Date: Wed Sep 18 13:21:40 2013 -0400
Suppress used once warnings
Fixes #9
---
Changes | 4 ++++
lib/Class/Tiny.pm | 1 +
2 files changed, 5 insertions(+)
diff --git a/Changes b/Changes
index 2157707..99df6ff 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,10 @@ Revision history for Class-Tiny
{{$NEXT}}
+ [FIXED]
+
+ - suppressed 'used only once' warnings (GH #9)
+
0.009 2013-09-17 06:54:47 America/New_York
[FIXED]
diff --git a/lib/Class/Tiny.pm b/lib/Class/Tiny.pm
index 5411cf2..20df398 100644
--- a/lib/Class/Tiny.pm
+++ b/lib/Class/Tiny.pm
@@ -2,6 +2,7 @@ use 5.008001;
use strict;
no strict 'refs';
use warnings;
+no warnings 'once';
package Class::Tiny;
# ABSTRACT: Minimalist class construction
--
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