perl-MooseX-Method-0.440.0-8-rosa2016.1.noarch.rpm


Advertisement

Description

perl-MooseX-Method - Method declaration with type checking

Property Value
Distribution ROSA 2016.1
Repository ROSA Contrib i586
Package filename perl-MooseX-Method-0.440.0-8-rosa2016.1.noarch.rpm
Package name perl-MooseX-Method
Package version 0.440.0
Package release 8-rosa2016.1
Package architecture noarch
Package type rpm
Category Development/Perl
Homepage http://search.cpan.org/dist/MooseX-Method
License GPL+ or Artistic
Maintainer -
Download size 46.13 KB
Installed size 122.35 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-8-rosa2016.1.noarch.rpm 0.440.0 noarch ROSA Contrib
perl-MooseX-Method - - -

Requires

Name Value
perl(B) -
perl(Carp) -
perl(Class::MOP) -
perl(HTML::Template::Pro) -
perl(Moose) -
perl(Moose::Meta::Class) -
perl(Moose::Role) -
perl(Moose::Util) -
perl(Moose::Util::TypeConstraints) -
perl(Scalar::Util) -
perl(Sub::Exporter) -
perl(Sub::Name) -
perl(Test::Exception) -
perl(Test::Moose) -
perl(Test::More) -
perl(abi) >= 5.20.3

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-8:2016.1

Download

Type URL
Mirror mirror.rosalab.ru
Binary Package perl-MooseX-Method-0.440.0-8-rosa2016.1.noarch.rpm
Source Package perl-MooseX-Method-0.440.0-8.src.rpm

Install Howto

  1. Enable ROSA Contrib 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/lib/perl5/vendor_perl/5.20.3/MooseX/Method.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Parameter.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Signature.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Method/Signature.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Method/Signature/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Parameter/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Parameter/Moose.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Parameter/Moose/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Signature/Combined.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Signature/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Signature/Named.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Signature/Positional.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Signature/Combined/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Signature/Named/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Meta/Signature/Positional/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Method/Constant.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Method/Exception.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Test/
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Test/Parameter/Moose.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Test/Signature/Combined.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Test/Signature/Named.pm
/usr/lib/perl5/vendor_perl/5.20.3/MooseX/Test/Signature/Positional.pm
/usr/share/doc/perl-MooseX-Method/Changes
/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

Changelog

2017-02-17 - Andrey Bondrov <andrey.bondrov@rosalab.ru> 0.440.0-8
- (15d1810) MassBuild#1257: Increase release tag

See Also

Package Description
perl-MooseX-Method-Signatures-0.480.0-3-rosa2016.1.noarch.rpm Method declarations with type constraints and no source filter
perl-MooseX-MethodAttributes-0.310.0-3-rosa2016.1.noarch.rpm No summary found
perl-MooseX-MultiInitArg-0.20.0-3-rosa2016.1.noarch.rpm Attributes with aliases for constructor arg
perl-MooseX-NonMoose-0.260.0-4-rosa2016.1.noarch.rpm Constructor method trait for L<MooseX::NonMoose>
perl-MooseX-Object-Pluggable-0.1.400-4-rosa2016.1.noarch.rpm Make your classes pluggable
perl-MooseX-OneArgNew-0.5.0-3-rosa2016.1.noarch.rpm Teach ->new to accept single, non-hashref arguments
perl-MooseX-POE-0.215.0-5-rosa2016.1.noarch.rpm A Instance Metaclass for MooseX::POE
perl-MooseX-Param-0.20.0-7-rosa2016.1.noarch.rpm Simple role to provide a standard param method
perl-MooseX-Params-Validate-0.210.0-3-rosa2016.1.noarch.rpm An extension of Params::Validate for using Moose's types
perl-MooseX-RelatedClassRoles-0.4.0-7-rosa2016.1.noarch.rpm Apply roles to a class related to yours
perl-MooseX-Role-BuildInstanceOf-0.80.0-5-rosa2016.1.noarch.rpm Less Boilerplate when you need lots of Instances
perl-MooseX-Role-Parameterized-1.80.0-3-rosa2016.1.noarch.rpm Trait for parameterizable roles
perl-MooseX-Role-WithOverloading-0.160.0-6-rosa2016.1.i586.rpm Roles which support overloading
perl-MooseX-SemiAffordanceAccessor-0.100.0-3-rosa2016.1.noarch.rpm Names accessors in a semi-affordance style
perl-MooseX-SetOnce-0.200.2-5-rosa2016.1.noarch.rpm Write-once, read-many attributes for Moose
Advertisement
Advertisement