perl-MooseX-NonMoose-0.260.0-7.mga6.noarch.rpm


Advertisement

Description

perl-MooseX-NonMoose - Constructor method trait for L<MooseX::NonMoose>

Distribution: Mageia Cauldron
Repository: Mageia Core i586
Package name: perl-MooseX-NonMoose
Package version: 0.260.0
Package release: 7.mga6
Package architecture: noarch
Package type: rpm
Installed size: 79.58 KB
Download size: 33.71 KB
Official Mirror: distrib-coffee.ipsl.jussieu.fr
'MooseX::NonMoose' allows for easily subclassing non-Moose classes with Moose, taking care of the annoying details connected with doing this, such as setting up proper inheritance from the Moose::Object manpage and installing (and inlining, at 'make_immutable' time) a constructor that makes sure things like 'BUILD' methods are called. It tries to be as non-intrusive as possible - when this module is used, inheriting from non-Moose classes and inheriting from Moose classes should work identically, aside from the few caveats mentioned below. One of the goals of this module is that including it in a the Moose::Exporter manpage-based package used across an entire application should be possible, without interfering with classes that only inherit from Moose modules, or even classes that don't inherit from anything at all. There are several ways to use this module. The most straightforward is to just 'use MooseX::NonMoose;' in your class; this should set up everything necessary for extending non-Moose modules. the MooseX::NonMoose::Meta::Role::Class manpage and the MooseX::NonMoose::Meta::Role::Constructor manpage can also be applied to your metaclasses manually, either by passing a '-traits' option to your 'use Moose;' line, or by applying them using the Moose::Util::MetaRole manpage in a the Moose::Exporter manpage-based package. the MooseX::NonMoose::Meta::Role::Class manpage is the part that provides the main functionality of this module; if you don't care about inlining, this is all you need to worry about. Applying the MooseX::NonMoose::Meta::Role::Constructor manpage as well will provide an inlined constructor when you immutabilize your class. 'MooseX::NonMoose' allows you to manipulate the argument list that gets passed to the superclass constructor by defining a 'FOREIGNBUILDARGS' method. This is called with the same argument list as the 'BUILDARGS' method, but should return a list of arguments to pass to the superclass constructor. This allows 'MooseX::NonMoose' to support superclasses whose constructors would get confused by the extra arguments that Moose requires (for attributes, etc.)

Alternatives

Provides

  • perl(MooseX::NonMoose) == 0.260.0
  • perl(MooseX::NonMoose::InsideOut) == 0.260.0
  • perl(MooseX::NonMoose::Meta::Role::Class) == 0.260.0
  • perl(MooseX::NonMoose::Meta::Role::Constructor) == 0.260.0
  • perl-MooseX-NonMoose == 0.260.0-7.mga6

    Install Howto

    1. Enable Mageia Core repository on "Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-MooseX-NonMoose rpm package:
      # urpmi perl-MooseX-NonMoose

    Files

    • /usr/lib/perl5/vendor_perl/5.22.2/MooseX/NonMoose.pm
    • /usr/lib/perl5/vendor_perl/5.22.2/MooseX/NonMoose/InsideOut.pm
    • /usr/lib/perl5/vendor_perl/5.22.2/MooseX/NonMoose/Meta/
    • /usr/lib/perl5/vendor_perl/5.22.2/MooseX/NonMoose/Meta/Role/Class.pm
    • /usr/lib/perl5/vendor_perl/5.22.2/MooseX/NonMoose/Meta/Role/Constructor.pm
    • /usr/share/doc/perl-MooseX-NonMoose/Changes
    • /usr/share/doc/perl-MooseX-NonMoose/LICENSE
    • /usr/share/doc/perl-MooseX-NonMoose/META.json
    • /usr/share/doc/perl-MooseX-NonMoose/META.yml
    • /usr/share/doc/perl-MooseX-NonMoose/MYMETA.yml
    • /usr/share/doc/perl-MooseX-NonMoose/README
    • /usr/share/man/man3/MooseX::NonMoose.3pm.xz
    • /usr/share/man/man3/MooseX::NonMoose::InsideOut.3pm.xz
    • /usr/share/man/man3/MooseX::NonMoose::Meta::Role::Class.3pm.xz
    • /usr/share/man/man3/MooseX::NonMoose::Meta::Role::Constructor.3pm.xz

    Changelog

    2016-06-19 - pterjan <pterjan> 0.260.0-7.mga6 + Revision: 1030501 - Rebuild for perl 5.22.2

    2016-02-08 - umeabot <umeabot> 0.260.0-6.mga6 + Revision: 948772 - Mageia 6 Mass Rebuild

    2014-10-18 - umeabot <umeabot> 0.260.0-5.mga5 + Revision: 788361 - Rebuild to potentially add missing dependencies

    2014-10-15 - umeabot <umeabot> 0.260.0-4.mga5 + Revision: 749211 - Second Mageia 5 Mass Rebuild

    2014-10-02 - tv <tv> 0.260.0-3.mga5 + Revision: 735847 - add exclude

    2014-09-16 - umeabot <umeabot> 0.260.0-2.mga5 + Revision: 685552 - Mageia 5 Mass Rebuild

    2014-02-28 - jquelin <jquelin> 0.260.0-1.mga5 + Revision: 597889 - update to 0.26

    2014-02-10 - jquelin <jquelin> 0.250.0-1.mga5 + Revision: 588543 - update to 0.25

    2013-10-19 - umeabot <umeabot> 0.240.0-2.mga4 + Revision: 534060 - Mageia 4 Mass Rebuild

    2013-09-08 - sander85 <sander85> 0.240.0-1.mga4 + Revision: 476142 - update to 0.24

    Advertisement
    Advertisement