MooX::late - Easily translate Moose code to Moo

Edit Package perl-MooX-late
https://metacpan.org/release/MooX-late

Moo is a light-weight object oriented programming framework which aims to be compatible with Moose. It does this by detecting when Moose has been loaded, and automatically "inflating" its classes and roles to full Moose classes and roles. This way, Moo classes can consume Moose roles, Moose classes can extend Moo classes, and so forth.

However, the surface syntax of Moo differs somewhat from Moose. For example the 'isa' option when defining attributes in Moose must be either a string or a blessed Moose::Meta::TypeConstraint object; but in Moo must be a coderef. These differences in surface syntax make porting code from Moose to Moo potentially tricky. MooX::late provides some assistance by enabling a slightly more Moosey surface syntax.

Refresh
Refresh
Source Files
Filename Size Changed
MooX-late-0.015.tar.gz 0000023339 22.8 KB
perl-MooX-late.changes 0000000174 174 Bytes
perl-MooX-late.spec 0000003816 3.73 KB
Revision 2 (latest revision is 9)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 2)
update
Comments 0
openSUSE Build Service is sponsored by