Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-MooseX-Method | Distribution: Dag Apt Repository for Red Hat Enterprise Linux 5 |
Version: 0.44 | Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ |
Release: 1.el5.rf | Build date: Tue Aug 31 23:54:00 2010 |
Group: Applications/CPAN | Build host: lisse.hasselt.wieers.com |
Size: 124167 | Source RPM: perl-MooseX-Method-0.44-1.el5.rf.src.rpm |
Packager: Steve Huff <shuff@vecna.org> | |
Url: http://search.cpan.org/dist/MooseX-Method/ | |
Summary: Method declaration with type checking |
This module has been deprecated in favor of MooseX::Method::Signatures. It is being maintained purely for people who need more time to change their implementations. It should not be used for new code. 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/); } Manual parameter validation is a tedious, repetive process and maintaining it consistently throughout your code can be downright hard sometimes. Modules like Params::Validate makes the job a bit easier, but it doesn't do much for elegance and it still requires more weird code than what should, strictly speaking, be neccesary. MooseX::Method to the rescue! It lets you declare which parameters people should pass to your method using Moose-style declaration and Moose types. It doesn't get much Moosier than this.
Artistic/GPL
* Thu Aug 26 2010 Steve Huff <shuff@vecna.org> - 0.44-1 - 9084+/shuff - Initial package.
/usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Method /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Method/Signature /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Method/Signature.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Method/Signature/Compiled.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Parameter /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Parameter.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Parameter/Compiled.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Parameter/Moose /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Parameter/Moose.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Parameter/Moose/Compiled.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Combined /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Combined.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Combined/Compiled.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Compiled.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Named /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Named.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Named/Compiled.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Positional /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Positional.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Meta/Signature/Positional/Compiled.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Method.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Method/Constant.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Method/Exception.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Test/Parameter /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Test/Parameter/Moose.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Test/Signature /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Test/Signature/Combined.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Test/Signature/Named.pm /usr/lib/perl5/vendor_perl/5.8.8/MooseX/Test/Signature/Positional.pm /usr/share/doc/perl-MooseX-Method-0.44 /usr/share/doc/perl-MooseX-Method-0.44/Changes /usr/share/doc/perl-MooseX-Method-0.44/META.yml /usr/share/man/man3/MooseX::Meta::Method::Signature.3pm.gz /usr/share/man/man3/MooseX::Meta::Method::Signature::Compiled.3pm.gz /usr/share/man/man3/MooseX::Meta::Parameter.3pm.gz /usr/share/man/man3/MooseX::Meta::Parameter::Compiled.3pm.gz /usr/share/man/man3/MooseX::Meta::Parameter::Moose.3pm.gz /usr/share/man/man3/MooseX::Meta::Parameter::Moose::Compiled.3pm.gz /usr/share/man/man3/MooseX::Meta::Signature.3pm.gz /usr/share/man/man3/MooseX::Meta::Signature::Combined.3pm.gz /usr/share/man/man3/MooseX::Meta::Signature::Combined::Compiled.3pm.gz /usr/share/man/man3/MooseX::Meta::Signature::Compiled.3pm.gz /usr/share/man/man3/MooseX::Meta::Signature::Named.3pm.gz /usr/share/man/man3/MooseX::Meta::Signature::Named::Compiled.3pm.gz /usr/share/man/man3/MooseX::Meta::Signature::Positional.3pm.gz /usr/share/man/man3/MooseX::Meta::Signature::Positional::Compiled.3pm.gz /usr/share/man/man3/MooseX::Method.3pm.gz /usr/share/man/man3/MooseX::Method::Constant.3pm.gz /usr/share/man/man3/MooseX::Method::Exception.3pm.gz /usr/share/man/man3/MooseX::Test::Parameter::Moose.3pm.gz /usr/share/man/man3/MooseX::Test::Signature::Combined.3pm.gz /usr/share/man/man3/MooseX::Test::Signature::Named.3pm.gz /usr/share/man/man3/MooseX::Test::Signature::Positional.3pm.gz
Generated by rpm2html 1.8.1
Fabrice Bellet, Sun Mar 9 08:17:09 2025