Package perl-MooX-late: Information

    Source package: perl-MooX-late
    Version: 0.100-alt1
    Build time:  Feb 24, 2020, 07:00 PM in the task #246857
    Category: Development/Perl
    Report package bug
    License: perl
    Summary: easily translate Moose code to Moo
    Description: 
    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:
    
    =over
    
    =item 1.
    
    Allows `isa => $string' to work when defining attributes for all
    Moose's built-in type constraints (and assumes other strings are package
    names).
    
    This feature requires the Types::Standard manpage.
    
    =item 2.
    
    Retired feature: this is now built in to Moo.
    
    Allows `default => $non_reference_value' to work when defining
    attributes.
    
    =item 3.
    
    Allows `lazy_build => 1' to work when defining attributes.
    
    =item 4.
    
    Exports `blessed' and `confess' functions to your namespace.
    
    =item 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.
    
    =item 6.
    
    Supports `coerce => 1' if the type constraint is a blessed object
    implementing the Type::API::Constraint::Coercible manpage.
    
    =back
    
    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.

    List of rpms provided by this srpm:
    perl-MooX-late (noarch)

    Maintainer: Igor Vlasenko

    List of contributors:
    Igor Vlasenko

      1. perl(Parse/CPAN/Meta.pm)
      2. perl(Scalar/Util.pm)
      3. perl(Socket.pm)
      4. perl(Sub/HandlesVia.pm)
      5. perl(Test/Fatal.pm)
      6. perl(Test/More.pm)
      7. perl(Test/Requires.pm)
      8. perl(Type/Utils.pm)
      9. perl(Types/Standard.pm)
      10. perl(base.pm)
      11. perl(overload.pm)
      12. /proc
      13. perl-devel
      14. perl-podlators
      15. rpm-build-perl
      16. perl(Config.pm)
      17. perl(Cwd.pm)
      18. perl(Exporter.pm)
      19. perl(ExtUtils/MM_Unix.pm)
      20. perl(ExtUtils/MakeMaker.pm)
      21. perl(Data/Dumper.pm)
      22. perl(CPAN.pm)
      23. perl(FileHandle.pm)
      24. perl(ExtUtils/Manifest.pm)
      25. perl(JSON.pm)
      26. perl(Carp.pm)
      27. perl(Fcntl.pm)
      28. perl(LWP/Simple.pm)
      29. perl(File/Basename.pm)
      30. perl(Net/FTP.pm)
      31. perl(File/Find.pm)
      32. perl(Module/Build.pm)
      33. perl(Module/Runtime.pm)
      34. perl(Moo.pm)
      35. perl(Moo/Role.pm)
      36. perl(Moose.pm)
      37. perl(File/Spec.pm)
      38. perl(File/Temp.pm)

    Last changed


    Feb. 24, 2020 Igor Vlasenko 0.100-alt1
    - automated CPAN update
    Nov. 19, 2019 Igor Vlasenko 0.016-alt1
    - automated CPAN update
    April 9, 2016 Igor Vlasenko 0.015-alt1.1
    - rebuild to restore role requires