Package: perl-MooX-late (0.015-bp156.3.1)
easily translate Moose code to Moo
the Moo manpage is a light-weight object oriented programming framework which aims to be compatible with the Moose manpage. 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 the Moose::Meta::TypeConstraint manpage object; but in Moo must be a coderef. These differences in surface syntax make porting code from Moose to Moo potentially tricky. the MooX::late manpage provides some assistance by enabling a slightly more Moosey surface syntax. MooX::late does the following: * 1. Supports 'isa => $stringytype'. * 2. Supports 'does => $rolename' . * 3. Supports 'lazy_build => 1'. * 4. Exports 'blessed' and 'confess' functions to your namespace. * 5. Handles certain attribute traits. Currently 'Hash', 'Array' and 'Code' are supported. This feature requires the MooX::HandlesVia manpage. '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. Five features. It is not the aim of 'MooX::late' to make every aspect of Moo behave exactly identically to Moose. It's just going after the low-hanging fruit. So it does five things right now, and I promise that future versions will never do more than seven. 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.
Package information
- Homepage
- [http://search.cpan.org/dist/MooX-late/]
- License
- Artistic-1.0 or GPL-1.0+
- Downstream-Paketbetreuer
- Unbekannt: in der indizierten Quelle nicht gemeldet
- Quellpaket
- [perl-MooX-late]
- Software project
- [perl-MooX-late]
Versions and downloads for perl-MooX-late
| Version / release | Architecture / repository | Package size | Installed size | Files | Publisher repository artifact |
|---|---|---|---|---|---|
| 0.015-bp156.3.1leap-15.6 / oss | noarchopenSUSE Leap 15.6 · OSS · multi-architecture | 29 KiB | 56 KiB | list of files | perl-MooX-late-0.015-bp156.3.1.noarch.rpm |
About these downloads
Jede Zeile ist Paketindex-Metadaten für eine Version, Architektur, Suite und ein Repository. Namen, URLs und Größen stammen aus der Quelle; ein Link ist ein veränderbarer Abrufort, kein Weitergabanspruch von OpenFactory.
Dependencies and recommendations for perl-MooX-late
dep: perl(:MODULE_COMPAT_5.26.1)
Package not available
dep: perl(Moo) (>= 1.006000)
Package not available
dep: perl(Type::Utils) (>= 1.000001)
Package not available
rec: perl(MooX::HandlesVia) (>= 0.001004)
Package not available
Paketdateipfade (15)
Paths come from the repository package-file index for the observed builds. They describe archive/package associations, not every file that will exist on a running system after maintainer scripts, alternatives, generated state, diversions, or installation choices.
- /usr/lib/perl5/vendor_perl/5.26.1/MooX
- /usr/lib/perl5/vendor_perl/5.26.1/MooX/late.pm
- /usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
- /usr/share/doc/packages/perl-MooX-late
- /usr/share/doc/packages/perl-MooX-late/Changes
- /usr/share/doc/packages/perl-MooX-late/CONTRIBUTING
- /usr/share/doc/packages/perl-MooX-late/COPYRIGHT
- /usr/share/doc/packages/perl-MooX-late/CREDITS
- /usr/share/doc/packages/perl-MooX-late/doap.ttl
- /usr/share/doc/packages/perl-MooX-late/examples
- /usr/share/doc/packages/perl-MooX-late/examples/simple.pl
- /usr/share/doc/packages/perl-MooX-late/LICENSE
- /usr/share/doc/packages/perl-MooX-late/README
- /usr/share/doc/packages/perl-MooX-late/TODO
- /usr/share/man/man3/MooX::late.3pm.gz
Field source: openSUSE Leap 15.6 OSS
