perl-MooseX-Method-0.440.0-1-rosa.lts2012.0.noarch.rpm


Advertisement

Description

perl-MooseX-Method - Method declaration with type checking

Property Value
Distribution ROSA Enterprise Desktop
Repository ROSA Contrib Updates x86_64
Package name perl-MooseX-Method
Package version 0.440.0
Package release 1-rosa.lts2012.0
Package architecture noarch
Package type rpm
Installed size 120.76 KB
Download size 45.38 KB
Official Mirror mirror.rosalab.ru
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-1-rosa.lts2012.0.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(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) -
perl(Sub::Exporter) -
perl(Sub::Name) -
perl(Test::Exception) -
perl(Test::Moose) -
perl(Test::More) -

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-1:2012.0

Download

Type URL
Binary Package perl-MooseX-Method-0.440.0-1-rosa.lts2012.0.noarch.rpm
Source Package perl-MooseX-Method-0.440.0-1.src.rpm

Install Howto

  1. Enable ROSA Contrib Updates 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.12.3/MooseX/Method.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Parameter.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Method/Signature.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Method/Signature/Compiled.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Parameter/Compiled.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Parameter/Moose.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Parameter/Moose/Compiled.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Combined.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Compiled.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Named.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Positional.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Combined/Compiled.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Named/Compiled.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Meta/Signature/Positional/Compiled.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Method/Constant.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Method/Exception.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Test/
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Test/Parameter/Moose.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Test/Signature/Combined.pm
/usr/lib/perl5/vendor_perl/5.12.3/MooseX/Test/Signature/Named.pm
/usr/lib/perl5/vendor_perl/5.12.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

2009-08-01 - J?r?me Quelin <jquelin@mandriva.org> 0.440.0-1mdv2010.0
+ Revision: 405945
- rebuild using %%perl_convert_version
2009-07-01 - Guillaume Rousse <guillomovitch@mandriva.org> 0.44-1mdv2010.0
+ Revision: 391186
- update to new version 0.44
2009-06-18 - Guillaume Rousse <guillomovitch@mandriva.org> 0.43-1mdv2010.0
+ Revision: 387013
- update to new version 0.43

See Also

Package Description
perl-MooseX-Method-Signatures-0.360.0-1-rosa.lts2012.0.noarch.rpm Method declarations with type constraints and no source filter
perl-MooseX-MethodAttributes-0.250.0-1-rosa.lts2012.0.noarch.rpm No summary found
perl-MooseX-MultiInitArg-0.10.0-2-rosa.lts2012.0.noarch.rpm Attributes with aliases for constructor arg
perl-MooseX-Object-Pluggable-0.0011-3-rosa.lts2012.0.noarch.rpm Make your classes pluggable
perl-MooseX-OneArgNew-0.2.0-1-rosa.lts2012.0.noarch.rpm Teach ->new to accept single, non-hashref arguments
perl-MooseX-POE-0.214.0-1-rosa.lts2012.0.noarch.rpm A Instance Metaclass for MooseX::POE
perl-MooseX-Param-0.20.0-2-rosa.lts2012.0.noarch.rpm Simple role to provide a standard param method
perl-MooseX-Params-Validate-0.160.0-2-rosa.lts2012.0.noarch.rpm An extension of Params::Validate for using Moose's types
perl-MooseX-RelatedClassRoles-0.4.0-2-rosa.lts2012.0.noarch.rpm Apply roles to a class related to yours
perl-MooseX-Role-BuildInstanceOf-0.70.0-2-rosa.lts2012.0.noarch.rpm Less Boilerplate when you need lots of Instances
perl-MooseX-Role-Parameterized-0.260.0-1-rosa.lts2012.0.noarch.rpm Metaclass for parameterizable roles
perl-MooseX-Role-WithOverloading-0.90.0-1-rosa.lts2012.0.x86_64.rpm Roles which support overloading
perl-MooseX-SemiAffordanceAccessor-0.90.0-2-rosa.lts2012.0.noarch.rpm Names accessors in a semi-affordance style
perl-MooseX-SetOnce-0.200.0-1-rosa.lts2012.0.noarch.rpm Write-once, read-many attributes for Moose
perl-MooseX-SimpleConfig-0.90.0-2-rosa.lts2012.0.noarch.rpm A Moose role for setting attributes from a simple configfile
Advertisement
Advertisement