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 (show unmerged sources)
Filename Size Changed
MooX-late-0.100.tar.gz 0000022113 21.6 KB
cpanspec.yml 0000000681 681 Bytes
perl-MooX-late.changes 0000001024 1 KB
perl-MooX-late.spec 0000003384 3.3 KB
Latest Revision
buildservice-autocommit accepted request 873699 from Dirk Stoecker's avatar Dirk Stoecker (dstoecker) (revision 9)
baserev update by copy to link target
Comments 0
openSUSE Build Service is sponsored by