|1.||Supports isa => $stringytype.|
|2.||Supports does => $rolename .|
|3.||Supports lazy_build => 1.|
|4.||Exports blessed and confess functions to your namespace.|
Handles certain attribute traits. Currently Hash, Array and Code
are supported. This feature requires MooX::HandlesVia.
String, Number, Counter and Bool are unlikely to ever be supported because of internal implementation details of Moo. If you need another attribute trait to be supported, let me know and I will consider it.
Previous releases of MooX::late added support for coerce => 1 and default => $nonref. These features have now been added to Moo itself, so MooX::late no longer has to deal with them.
MooX::late should work in Moo::Roles, with no particular caveats.
package MyRole; use Moo::Role; use MooX::late;
Type constraint strings are interpreted using Type::Parser, using the type constraints defined in Types::Standard. This provides a very slight superset of Mooses type constraint syntax and built-in type constraints.
Any unrecognized string that looks like it might be a class name is interpreted as a class type constraint.
MooX::late is designed to be reasonably easy to subclass. There are comments in the source code explaining hooks for extensibility.
Please report any bugs to <http://rt.cpan.org/Dist/Display.html?Queue=MooX-late>.
MooX::late uses Types::Standard to check type constraints.
MooX::late uses MooX::HandlesVia to provide native attribute traits support.
MooX allows you to load Moo plus multiple MooX extension modules in a single line.
o MooX::Override - support override/super o MooX::Augment - support augment/inner
Toby Inkster <firstname.lastname@example.org>.
This software is copyright (c) 2012-2014 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
THIS PACKAGE IS PROVIDED AS IS AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|perl v5.20.3||MOOX::LATE (3)||2014-08-18|