has bar => (is => 'ro', isa => 'Str');
- use MooX::Role qw(late);
-or, inside L<Package::Variant>:
- importing => ['MooX::Role' => ['late'],],
- subs => [ qw(has with) ];
+(Examples for Moo roles in section below.)
fruit. So it does four things right now, and I promise that future versions
will never do more than seven.
+=head2 Use in Moo::Roles
+MooX::late should work in Moo::Roles, with no particular caveats.
+ use MooX::Role qw(late);
+L<Package::Variant> can be used to build the Moo equivalent of
+parameterized roles. MooX::late should work in roles built with
+ importing => ['MooX::Role' => ['late']],
+ subs => [ qw(has with) ];
Please report any bugs to