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.100.tar.gz 0000022113 21.6 KB
cpanspec.yml 0000000669 669 Bytes
perl-MooX-late.changes 0000000873 873 Bytes
perl-MooX-late.spec 0000003475 3.39 KB
Revision 6 (latest revision is 9)
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 843009 from Tina Müller's avatar Tina Müller (tinita) (revision 6)
- updated to 0.100
   see /usr/share/doc/packages/perl-MooX-late/Changes
  0.100	2020-02-17
  
   [ Packaging ]
   - Make Sub::HandlesVia a required dependency.
  
   [ Other ]
   - Use Sub::HandlesVia instead of MooX::HandlesVia; less translation needed
     because Sub::HandlesVia already understands Moose-like syntax; plus it
     covers more datatypes and methods.
Comments 0
openSUSE Build Service is sponsored by