X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FRole%2FTiny%2FWith.pm;h=7075b75201508bfbd60acafcd8388161f8e4c63a;hb=c075f2b0b8a8a97c5971df5311b6e61b16712b7d;hp=0633de8880fa0cf5dbed2e7ebd3bca7a3dc592ef;hpb=60dfe768e64a52bf2245361c2da546c45567553b;p=gitmo%2FRole-Tiny.git diff --git a/lib/Role/Tiny/With.pm b/lib/Role/Tiny/With.pm index 0633de8..7075b75 100644 --- a/lib/Role/Tiny/With.pm +++ b/lib/Role/Tiny/With.pm @@ -2,6 +2,10 @@ package Role::Tiny::With; use strict; use warnings FATAL => 'all'; + +our $VERSION = '1.003003'; +$VERSION = eval $VERSION; + use Role::Tiny (); use Exporter 'import'; @@ -9,7 +13,7 @@ our @EXPORT = qw( with ); sub with { my $target = caller; - Role::Tiny->apply_union_of_roles_to_package($target, @_) + Role::Tiny->apply_roles_to_package($target, @_) } 1;