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 cae449ea156c2dd4f554ac4d6e4082637734bdea
Author: David Golden <dagol...@cpan.org>
Date:   Thu Aug 15 22:04:22 2013 -0400

    add mro/MRO::Compat
    
    This is in preparation for getting linearized @ISA for BUILD/DEMOLISH
---
 dist.ini          | 6 ++++++
 lib/Class/Tiny.pm | 5 +++++
 2 files changed, 11 insertions(+)

diff --git a/dist.ini b/dist.ini
index af13f79..a7ab5a5 100644
--- a/dist.ini
+++ b/dist.ini
@@ -9,3 +9,9 @@ copyright_year   = 2013
 AutoMetaResources.bugtracker.rt = 0
 AutoMetaResources.bugtracker.github = user:dagolden
 
+[RemovePrereqs]
+remove = MRO::Compat
+remove = mro
+
+[PerlVersionPrereqs / 5.010]
+MRO::Compat = 0
diff --git a/lib/Class/Tiny.pm b/lib/Class/Tiny.pm
index db80726..dbe8ab2 100644
--- a/lib/Class/Tiny.pm
+++ b/lib/Class/Tiny.pm
@@ -7,6 +7,11 @@ package Class::Tiny;
 # VERSION
 
 use Carp ();
+if ($] >= 5.010) {
+  require "mro.pm"; # hack to hide from perl minimum version & prereq scanners
+} else {
+  require MRO::Compat;
+}
 
 my %CLASS_ATTRIBUTES;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libclass-tiny-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to