[libclass-tiny-perl] 18/22: more tidying

gregor herrmann gregoa at debian.org
Sun May 31 14:03:05 UTC 2015


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

gregoa pushed a commit to annotated tag release-0.001
in repository libclass-tiny-perl.

commit 9d71efc0225faa6e53bd6670e22f81dbf6e1d824
Author: David Golden <dagolden at cpan.org>
Date:   Fri Aug 16 09:45:31 2013 -0400

    more tidying
---
 lib/Class/Tiny.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Class/Tiny.pm b/lib/Class/Tiny.pm
index 053044a..ab81973 100644
--- a/lib/Class/Tiny.pm
+++ b/lib/Class/Tiny.pm
@@ -9,7 +9,7 @@ package Class::Tiny;
 use Carp ();
 
 if ( $] >= 5.010 ) {
-    require "mro.pm"; ## no critic: hack to hide from perl minimum version & prereq scanners
+    require "mro.pm"; ## no critic: hack to hide from min version & prereq scanners
 }
 else {
     require MRO::Compat;
@@ -44,7 +44,7 @@ sub new {
     if ( @_ == 1 && ref $_[0] ) {
         my %copy = eval { %{ $_[0] } }; # try shallow copy
         if ($@) {
-            Carp::croak( "Argument to $class->new() could not be dereferenced as a hash" );
+            Carp::croak("Argument to $class->new() could not be dereferenced as a hash");
         }
         $args = \%copy;
     }

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