From: Graham Knop Date: Sun, 19 May 2013 22:08:29 +0000 (-0400) Subject: Explicitly use Role::Tiny in Moo::Role X-Git-Tag: v1.003000~82 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7a9263a9abc235f6fa02247c7dd2ab72183ecbda;p=gitmo%2FMoo.git Explicitly use Role::Tiny in Moo::Role base.pm will ignore failures loading a module if there are any entries in its stash. Moo will cause an entry to exist because it refers to Role::Tiny::INFO. Loading Moo before before Moo::Role will thus cause base.pm to ignore failures loading Role::Tiny. Fix this by explicitly loading Role::Tiny in Moo::Role. --- diff --git a/lib/Moo/Role.pm b/lib/Moo/Role.pm index 72c5659..1be78e2 100644 --- a/lib/Moo/Role.pm +++ b/lib/Moo/Role.pm @@ -2,6 +2,7 @@ package Moo::Role; use strictures 1; use Moo::_Utils; +use Role::Tiny (); use base qw(Role::Tiny); require Moo::sification;