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=4b568ea98953d3a69a8899bf7b971622dfb09022;hpb=8b14bafdaa5eb53e394069d298f8a488c3aa9b83;p=gitmo%2FRole-Tiny.git diff --git a/lib/Role/Tiny/With.pm b/lib/Role/Tiny/With.pm index 4b568ea..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_role_to_package($target, @_) + Role::Tiny->apply_roles_to_package($target, @_) } 1; @@ -35,11 +39,11 @@ provides a C function to compose such roles. =head1 AUTHORS -See L for authors. +See L for authors. =head1 COPYRIGHT AND LICENSE -See L for the copyright and license. +See L for the copyright and license. =cut