use B 'perlstring';
use Sub::Defer ();
-our $VERSION = '1.002000'; # 1.2.0
+our $VERSION = '1.003000'; # 1.3.0
$VERSION = eval $VERSION;
require Moo::sification;
my $target = caller;
my $class = shift;
strictures->import;
- if ($Moo::Role::INFO{$target} and $Moo::Role::INFO{$target}{is_role}) {
+ if ($Role::Tiny::INFO{$target} and $Role::Tiny::INFO{$target}{is_role}) {
die "Cannot import Moo into a role";
}
$MAKERS{$target} ||= {};