perl-MooseX-Method-0.440.0-4-omv2015.0.noarch.rpm


Advertisement

Description

perl-MooseX-Method - Method declaration with type checking

Property Value
Distribution OpenMandriva Lx 3.0
Repository OpenMandriva Contrib Release i586
Package name perl-MooseX-Method
Package version 0.440.0
Package release 4-omv2015.0
Package architecture noarch
Package type rpm
Installed size 122.44 KB
Download size 46.24 KB
Official Mirror abf-downloads.openmandriva.org
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-4-omv2015.0.noarch.rpm 0.440.0 noarch OpenMandriva Contrib Release
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.1

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-4:2015.0

Download

Type URL
Binary Package perl-MooseX-Method-0.440.0-4-omv2015.0.noarch.rpm
Source Package perl-MooseX-Method-0.440.0-4.src.rpm

Install Howto

  1. Enable OpenMandriva Contrib Release 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.1/MooseX/Method.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Parameter.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Signature.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Method/Signature.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Method/Signature/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Parameter/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Parameter/Moose.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Parameter/Moose/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Signature/Combined.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Signature/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Signature/Named.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Signature/Positional.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Signature/Combined/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Signature/Named/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Meta/Signature/Positional/Compiled.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Method/Constant.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Method/Exception.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Test/
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Test/Parameter/Moose.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Test/Signature/Combined.pm
/usr/lib/perl5/vendor_perl/5.20.1/MooseX/Test/Signature/Named.pm
/usr/lib/perl5/vendor_perl/5.20.1/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

See Also

Package Description
perl-MooseX-MethodAttributes-0.290.0-3-omv2015.0.noarch.rpm No summary found
perl-MooseX-MultiInitArg-0.10.0-3-omv2013.0.noarch.rpm Attributes with aliases for constructor arg
perl-MooseX-Object-Pluggable-0.0011-5-omv2015.0.noarch.rpm Make your classes pluggable
perl-MooseX-OneArgNew-0.4.0-3-omv2015.0.noarch.rpm Teach ->new to accept single, non-hashref arguments
perl-MooseX-POE-0.215.0-3-omv2015.0.noarch.rpm A Instance Metaclass for MooseX::POE
perl-MooseX-Param-0.20.0-5-omv2015.0.noarch.rpm Simple role to provide a standard param method
perl-MooseX-Params-Validate-0.180.0-3-omv2015.0.noarch.rpm An extension of Params::Validate for using Moose's types
perl-MooseX-RelatedClassRoles-0.4.0-5-omv2015.0.noarch.rpm Apply roles to a class related to yours
perl-MooseX-Role-BuildInstanceOf-0.80.0-3-omv2015.0.noarch.rpm Less Boilerplate when you need lots of Instances
perl-MooseX-Role-Parameterized-1.20.0-3-omv2015.0.noarch.rpm Metaclass for parameterizable roles
perl-MooseX-Role-WithOverloading-0.130.0-3-omv2015.0.i586.rpm Roles which support overloading
perl-MooseX-SemiAffordanceAccessor-0.90.0-5-omv2015.0.noarch.rpm Names accessors in a semi-affordance style
perl-MooseX-SetOnce-0.200.2-3-omv2015.0.noarch.rpm Write-once, read-many attributes for Moose
perl-MooseX-SimpleConfig-0.100.0-3-omv2015.0.noarch.rpm A Moose role for setting attributes from a simple configfile
perl-MooseX-Singleton-0.290.0-3-omv2015.0.noarch.rpm Base class for MooseX::Singleton
Advertisement
Advertisement