Name : perl-MooseX-Method
| |
Version : 0.440.0
| Vendor : Mandriva
|
Release : 1mdv2011.0
| Date : 2010-07-26 02:34:55
|
Group : Development/Perl
| Source RPM : perl-MooseX-Method-0.440.0-1mdv2011.0.src.rpm
|
Size : 0.12 MB
| |
Packager : Funda Wang < fwang_mandriva_org>
| |
Summary : Method declaration with type checking
|
Description :
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) = AATT_;
die \"Invalid arg1\" unless (defined $arg->{bar} && $arg->{bar} =~ m/bar/); }
|
RPM found in directory: /vol/rzm6/linux-mandriva/devel/cooker/i586/media/contrib/release |