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

Property Value
Distribution Mageia Cauldron
Repository Mageia Core i586
Package filename perl-MooseX-NonMoose-0.260.0-8.mga7.noarch.rpm
Package name perl-MooseX-NonMoose
Package version 0.260.0
Package release 8.mga7
Package architecture noarch
Package type rpm
Category Development/Perl
License GPL+ or Artistic
Maintainer -
Download size 33.41 KB
Installed size 79.62 KB
'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.)


Package Version Architecture Repository
perl-MooseX-NonMoose-0.260.0-8.mga7.noarch.rpm 0.260.0 noarch Mageia Core
perl-MooseX-NonMoose - - -


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


Name Value
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-8.mga7


Type URL
Binary Package perl-MooseX-NonMoose-0.260.0-8.mga7.noarch.rpm
Source Package perl-MooseX-NonMoose-0.260.0-8.mga7.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




2018-09-19 - umeabot <umeabot> 0.260.0-8.mga7
(not released yet)
+ Revision: 1269611
- Mageia 7 Mass Rebuild
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

See Also

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