perl-MooseX-NonMoose-0.240.0-2.mga4.noarch.rpm


Advertisement

Description

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

Property Value
Distribution Mageia 4.1
Repository Mageia Core i586
Package name perl-MooseX-NonMoose
Package version 0.240.0
Package release 2.mga4
Package architecture noarch
Package type rpm
Installed size 71.38 KB
Download size 29.17 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

Package Version Architecture Repository
perl-MooseX-NonMoose-0.240.0-2.mga4.noarch.rpm 0.240.0 noarch Mageia Core
perl-MooseX-NonMoose - - -

Requires

Name Value
perl(List::MoreUtils) -
perl(Module::Runtime) -
perl(Moose::Exporter) -
perl(Moose::Role) >= 2.0.0
perl(Moose::Util) -
perl(warnings) -
perl-base >= 2:5.18.1

Provides

Name Value
perl(MooseX::NonMoose) == 0.240.0
perl(MooseX::NonMoose::InsideOut) == 0.240.0
perl(MooseX::NonMoose::Meta::Role::Class) == 0.240.0
perl(MooseX::NonMoose::Meta::Role::Constructor) == 0.240.0
perl-MooseX-NonMoose == 0.240.0-2.mga4

Download

Type URL
Binary Package perl-MooseX-NonMoose-0.240.0-2.mga4.noarch.rpm
Source Package perl-MooseX-NonMoose-0.240.0-2.mga4.src.rpm

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

Path
/usr/lib/perl5/vendor_perl/5.18.1/MooseX/NonMoose.pm
/usr/lib/perl5/vendor_perl/5.18.1/MooseX/NonMoose/InsideOut.pm
/usr/lib/perl5/vendor_perl/5.18.1/MooseX/NonMoose/Meta/
/usr/lib/perl5/vendor_perl/5.18.1/MooseX/NonMoose/Meta/Role/Class.pm
/usr/lib/perl5/vendor_perl/5.18.1/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/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

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
2013-01-13 - umeabot <umeabot> 0.220.0-2.mga3
+ Revision: 370209
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild
2011-06-15 - jquelin <jquelin> 0.220.0-1.mga2
+ Revision: 107140
- update to 0.22
2011-03-24 - jquelin <jquelin> 0.200.0-1.mga1
+ Revision: 76656
- update to 0.20
2011-03-09 - jquelin <jquelin> 0.190.0-1.mga1
+ Revision: 67002
- update to 0.19
2011-02-16 - jquelin <jquelin> 0.180.0-1.mga1
+ Revision: 52596
- update to 0.18
2011-01-27 - jquelin <jquelin> 0.170.0-1.mga1
+ Revision: 41870
- imported package perl-MooseX-NonMoose
2011-01-27 - cpan2dist 0.17-1mdv
- initial mdv release, generated with cpan2dist

See Also

Package Description
perl-MooseX-Object-Pluggable-0.0011-4.mga4.noarch.rpm Make your classes pluggable
perl-MooseX-OneArgNew-0.4.0-2.mga4.noarch.rpm Teach ->new to accept single, non-hashref arguments
perl-MooseX-POE-0.215.0-3.mga4.noarch.rpm A Instance Metaclass for MooseX::POE
perl-MooseX-Param-0.20.0-3.mga4.noarch.rpm Simple role to provide a standard param method
perl-MooseX-Params-Validate-0.180.0-2.mga4.noarch.rpm An extension of Params::Validate for using Moose's types
perl-MooseX-RelatedClassRoles-0.4.0-3.mga4.noarch.rpm Apply roles to a class related to yours
perl-MooseX-Role-BuildInstanceOf-0.80.0-3.mga4.noarch.rpm Less Boilerplate when you need lots of Instances
perl-MooseX-Role-Loggable-0.112.0-2.mga4.noarch.rpm Extensive, yet simple, logging role using Log::Dispatchouli
perl-MooseX-Role-Matcher-0.50.0-3.mga4.noarch.rpm Generic object matching based on attributes and methods
perl-MooseX-Role-Parameterized-1.20.0-2.mga4.noarch.rpm Metaclass for parameterizable roles
perl-MooseX-Role-WithOverloading-0.130.0-2.mga4.i586.rpm Roles which support overloading
perl-MooseX-SemiAffordanceAccessor-0.90.0-3.mga4.noarch.rpm Names accessors in a semi-affordance style
perl-MooseX-SetOnce-0.200.2-2.mga4.noarch.rpm Write-once, read-many attributes for Moose
perl-MooseX-SimpleConfig-0.90.0-4.mga4.noarch.rpm A Moose role for setting attributes from a simple configfile
perl-MooseX-Singleton-0.290.0-3.mga4.noarch.rpm Base class for MooseX::Singleton
Advertisement
Advertisement