8 use Mouse::Util::TypeConstraints;
9 use namespace::autoclean;
11 subtype 'Foo', as 'Int';
12 coerce 'Foo', from 'Str', via { 3 };
18 clearer => '_clear_foo',
23 use Moo; # Works if use Moose..
24 use namespace::clean -except => 'meta';
29 my $i = Class->new( foo => 'bar' );