perl-MooseX-Method-0.440.0-10.mga7.noarch.rpm


Advertisement

Description

perl-MooseX-Method - Method declaration with type checking

Property Value
Distribution Mageia Cauldron
Repository Mageia Core i586
Package filename perl-MooseX-Method-0.440.0-10.mga7.noarch.rpm
Package name perl-MooseX-Method
Package version 0.440.0
Package release 10.mga7
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage http://search.cpan.org/dist/MooseX-Method
License GPL+ or Artistic
Maintainer -
Download size 51.71 KB
Installed size 109.87 KB
The problem
This module is an attempt to solve a problem I've often encountered but
never really found any good solution for: validation of method
parameters. How many times have we all ourselves writing code like
this:
sub foo {
my ($self,$args) = @_;
die "Invalid arg1"
unless (defined $arg->{bar} && $arg->{bar} =~ m/bar/);
}

Alternatives

Package Version Architecture Repository
perl-MooseX-Method-0.440.0-10.mga7.noarch.rpm 0.440.0 noarch Mageia Core
perl-MooseX-Method - - -

Requires

Name Value
perl(B) -
perl(Carp) -
perl(Class::MOP) >= 0.370.0
perl(HTML::Template::Pro) >= 0.650.0
perl(Moose) >= 0.220.0
perl(Moose::Meta::Class) -
perl(Moose::Role) -
perl(Moose::Util) -
perl(Moose::Util::TypeConstraints) -
perl(MooseX::Meta::Method::Signature) -
perl(MooseX::Meta::Method::Signature::Compiled) -
perl(MooseX::Meta::Parameter::Moose) -
perl(MooseX::Meta::Parameter::Moose::Compiled) -
perl(MooseX::Meta::Signature::Combined) -
perl(MooseX::Meta::Signature::Combined::Compiled) -
perl(MooseX::Meta::Signature::Named) -
perl(MooseX::Meta::Signature::Named::Compiled) -
perl(MooseX::Meta::Signature::Positional) -
perl(MooseX::Meta::Signature::Positional::Compiled) -
perl(MooseX::Method::Constant) -
perl(MooseX::Method::Exception) -
perl(Scalar::Util) >= 1.140.0
perl(Sub::Exporter) -
perl(Sub::Name) >= 0.20.0
perl(Test::Exception) -
perl(Test::Moose) -
perl(Test::More) -
perl(overload) -
perl-base >= 2:5.28.0

Provides

Name Value
perl(Foo1) -
perl(Foo2) -
perl(Foo3) -
perl(Foo::Parameter) -
perl(Foo::Role) -
perl(MooseX::Meta::Method::Signature) == 0.10.0
perl(MooseX::Meta::Method::Signature::Compiled) == 0.10.0
perl(MooseX::Meta::Parameter) == 0.10.0
perl(MooseX::Meta::Parameter::Compiled) == 0.10.0
perl(MooseX::Meta::Parameter::Moose) == 0.10.0
perl(MooseX::Meta::Parameter::Moose::Compiled) == 0.10.0
perl(MooseX::Meta::Signature) == 0.10.0
perl(MooseX::Meta::Signature::Combined) == 0.10.0
perl(MooseX::Meta::Signature::Combined::Compiled) == 0.10.0
perl(MooseX::Meta::Signature::Compiled) == 0.10.0
perl(MooseX::Meta::Signature::Named) == 0.10.0
perl(MooseX::Meta::Signature::Named::Compiled) == 0.10.0
perl(MooseX::Meta::Signature::Positional) == 0.10.0
perl(MooseX::Meta::Signature::Positional::Compiled) == 0.10.0
perl(MooseX::Method) == 0.440.0
perl(MooseX::Method::Constant) == 0.10.0
perl(MooseX::Method::Exception) == 0.10.0
perl(MooseX::Test::Parameter::Moose) == 0.10.0
perl(MooseX::Test::Signature::Combined) == 0.10.0
perl(MooseX::Test::Signature::Named) == 0.10.0
perl(MooseX::Test::Signature::Positional) == 0.10.0
perl-MooseX-Method == 0.440.0-10.mga7

Download

Type URL
Mirror distrib-coffee.ipsl.jussieu.fr
Binary Package perl-MooseX-Method-0.440.0-10.mga7.noarch.rpm
Source Package perl-MooseX-Method-0.440.0-10.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-Method rpm package:
    # urpmi perl-MooseX-Method

Files

Path
/usr/share/doc/perl-MooseX-Method/Changes
/usr/share/doc/perl-MooseX-Method/META.yml
/usr/share/man/man3/MooseX::Meta::Method::Signature.3pm.xz
/usr/share/man/man3/MooseX::Meta::Method::Signature::Compiled.3pm.xz
/usr/share/man/man3/MooseX::Meta::Parameter.3pm.xz
/usr/share/man/man3/MooseX::Meta::Parameter::Compiled.3pm.xz
/usr/share/man/man3/MooseX::Meta::Parameter::Moose.3pm.xz
/usr/share/man/man3/MooseX::Meta::Parameter::Moose::Compiled.3pm.xz
/usr/share/man/man3/MooseX::Meta::Signature.3pm.xz
/usr/share/man/man3/MooseX::Meta::Signature::Combined.3pm.xz
/usr/share/man/man3/MooseX::Meta::Signature::Combined::Compiled.3pm.xz
/usr/share/man/man3/MooseX::Meta::Signature::Compiled.3pm.xz
/usr/share/man/man3/MooseX::Meta::Signature::Named.3pm.xz
/usr/share/man/man3/MooseX::Meta::Signature::Named::Compiled.3pm.xz
/usr/share/man/man3/MooseX::Meta::Signature::Positional.3pm.xz
/usr/share/man/man3/MooseX::Meta::Signature::Positional::Compiled.3pm.xz
/usr/share/man/man3/MooseX::Method.3pm.xz
/usr/share/man/man3/MooseX::Method::Constant.3pm.xz
/usr/share/man/man3/MooseX::Method::Exception.3pm.xz
/usr/share/man/man3/MooseX::Test::Parameter::Moose.3pm.xz
/usr/share/man/man3/MooseX::Test::Signature::Combined.3pm.xz
/usr/share/man/man3/MooseX::Test::Signature::Named.3pm.xz
/usr/share/man/man3/MooseX::Test::Signature::Positional.3pm.xz
/usr/share/perl5/vendor_perl/MooseX/Method.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Parameter.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Signature.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Method/Signature.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Method/Signature/Compiled.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Parameter/Compiled.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Parameter/Moose.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Parameter/Moose/Compiled.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Signature/Combined.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Signature/Compiled.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Signature/Named.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Signature/Positional.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Signature/Combined/Compiled.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Signature/Named/Compiled.pm
/usr/share/perl5/vendor_perl/MooseX/Meta/Signature/Positional/Compiled.pm
/usr/share/perl5/vendor_perl/MooseX/Method/Constant.pm
/usr/share/perl5/vendor_perl/MooseX/Method/Exception.pm
/usr/share/perl5/vendor_perl/MooseX/Test/
/usr/share/perl5/vendor_perl/MooseX/Test/Parameter/Moose.pm
/usr/share/perl5/vendor_perl/MooseX/Test/Signature/Combined.pm
/usr/share/perl5/vendor_perl/MooseX/Test/Signature/Named.pm
/usr/share/perl5/vendor_perl/MooseX/Test/Signature/Positional.pm

Changelog

2018-09-20 - umeabot <umeabot> 0.440.0-10.mga7
(not released yet)
+ Revision: 1285082
- Mageia 7 Mass Rebuild
2017-10-03 - tv <tv> 0.440.0-9.mga7
+ Revision: 1165632
- rebuild with fixed rpm for missing autodeps
2017-09-25 - tv <tv> 0.440.0-8.mga7
+ Revision: 1159217
- add BR on perl(inc::Module::Install)
2016-06-19 - pterjan <pterjan> 0.440.0-7.mga6
+ Revision: 1030466
- Rebuild for perl 5.22.2
2016-02-08 - umeabot <umeabot> 0.440.0-6.mga6
+ Revision: 946375
- Mageia 6 Mass Rebuild

See Also

Package Description
perl-MooseX-Method-Signatures-0.490.0-4.mga7.noarch.rpm Method declarations with type constraints and no source filter
perl-MooseX-MethodAttributes-0.310.0-5.mga7.noarch.rpm Introspect your method code attributes
perl-MooseX-MultiInitArg-0.20.0-8.mga7.noarch.rpm Attributes with aliases for constructor arg
perl-MooseX-NewDefaults-0.4.0-6.mga7.noarch.rpm Alter attribute defaults with less pain
perl-MooseX-NonMoose-0.260.0-8.mga7.noarch.rpm Constructor method trait for L<MooseX::NonMoose>
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
Advertisement
Advertisement