perl-MooX-StrictConstructor-0.6.0-3.mga5.noarch.rpm


Advertisement

Description

perl-MooX-StrictConstructor - A role to make Moo constructors strict

Property Value
Distribution Mageia 5.1
Repository Mageia Core i586
Package name perl-MooX-StrictConstructor
Package version 0.6.0
Package release 3.mga5
Package architecture noarch
Package type rpm
Installed size 35.92 KB
Download size 23.79 KB
Official Mirror distrib-coffee.ipsl.jussieu.fr
Simply loading this module makes your constructors "strict". If your
constructor is called with an attribute init argument that your class does
not declare, then it dies. This is a great way to catch small typos.
STANDING ON THE SHOULDERS OF ...
Most of this package was lifted from the MooX::InsideOut manpage and
most of the Role that implements the strictness was lifted from the
MooseX::StrictConstructor manpage.
SUBVERTING STRICTNESS
the MooseX::StrictConstructor manpage documents two tricks for
subverting strictness and avoid having problematic arguments cause an
exception: handling them in BUILD or handle them in BUILDARGS.

Alternatives

Package Version Architecture Repository
perl-MooX-StrictConstructor-0.6.0-3.mga5.noarch.rpm 0.6.0 noarch Mageia Core
perl-MooX-StrictConstructor - - -

Requires

Name Value
perl(B) -
perl(Class::Method::Modifiers) -
perl(Moo) >= 1.1.0
perl(Moo::Role) -
perl(constant) -
perl(strictures) >= 1.0.0
perl-base >= 2:5.20.1

Provides

Name Value
perl(Method::Generate::Constructor::Role::StrictConstructor) == 0.6.0
perl(MooX::StrictConstructor) == 0.6.0
perl-MooX-StrictConstructor == 0.6.0-3.mga5

Download

Type URL
Binary Package perl-MooX-StrictConstructor-0.6.0-3.mga5.noarch.rpm
Source Package perl-MooX-StrictConstructor-0.6.0-3.mga5.src.rpm

Install Howto

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

Files

Path
/usr/lib/perl5/vendor_perl/5.20.1/Method/
/usr/lib/perl5/vendor_perl/5.20.1/Method/Generate/
/usr/lib/perl5/vendor_perl/5.20.1/Method/Generate/Constructor/
/usr/lib/perl5/vendor_perl/5.20.1/Method/Generate/Constructor/Role/StrictConstructor.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooX/StrictConstructor.pm
/usr/share/doc/perl-MooX-StrictConstructor/Changes
/usr/share/doc/perl-MooX-StrictConstructor/LICENSE
/usr/share/doc/perl-MooX-StrictConstructor/META.json
/usr/share/doc/perl-MooX-StrictConstructor/META.yml
/usr/share/doc/perl-MooX-StrictConstructor/README
/usr/share/man/man3/Method::Generate::Constructor::Role::StrictConstructor.3pm.xz
/usr/share/man/man3/MooX::StrictConstructor.3pm.xz

Changelog

2014-10-15 - umeabot <umeabot> 0.6.0-3.mga5
+ Revision: 743044
- Second Mageia 5 Mass Rebuild
2014-09-16 - umeabot <umeabot> 0.6.0-2.mga5
+ Revision: 685503
- Mageia 5 Mass Rebuild
2014-03-28 - shlomif <shlomif> 0.6.0-1.mga5
+ Revision: 609076
- Add BRs
- imported package perl-MooX-StrictConstructor
2014-03-28 - cpan2dist 0.006-1mga
- initial mageia release, generated with cpan2dist

See Also

Package Description
perl-MooX-Struct-0.12.0-4.mga5.noarch.rpm Make simple lightweight record-like structures that make sounds like cows
perl-MooX-Types-MooseLike-0.270.0-4.mga5.noarch.rpm Moo types for numbers
perl-MooX-Types-MooseLike-Numeric-1.20.0-4.mga5.noarch.rpm Moo types for numbers
perl-MooX-late-0.15.0-3.mga5.noarch.rpm Easily translate Moose code to Moo
perl-Moose-2.121.100-7.mga5.i586.rpm A complete modern object system for Perl 5
perl-Moose-Autobox-0.150.0-4.mga5.noarch.rpm The Indexed role
perl-Moose-Policy-0.50.0-5.mga5.noarch.rpm Moose-mounted police
perl-MooseX-AbstractMethod-0.4.0-4.mga5.noarch.rpm Declare methods requirements that must be satisfied
perl-MooseX-Aliases-0.110.0-6.mga5.noarch.rpm Attribute metaclass trait for L<MooseX::Aliases>
perl-MooseX-Alien-1.10.0-4.mga5.noarch.rpm Extend a non-Moose class with Moose
perl-MooseX-AlwaysCoerce-0.210.0-3.mga5.noarch.rpm Automatically enable coercions for Moose attributes
perl-MooseX-App-1.300.0-2.mga5.noarch.rpm Meta class role for command classes
perl-MooseX-App-Cmd-0.270.0-4.mga5.noarch.rpm Reads from config file
perl-MooseX-ArrayRef-0.4.0-5.mga5.noarch.rpm Blessed arrayrefs with Moose
perl-MooseX-Async-0.70.0-7.mga5.noarch.rpm A Method Metaclass for MooseX::Async
Advertisement
Advertisement