Name : perl-MooseX-Method
| |
Version : 0.42
| Vendor : Mandriva
|
Release : 1mdv2009.0
| Date : 2008-07-14 23:19:02
|
Group : Development/Perl
| Source RPM : perl-MooseX-Method-0.42-1mdv2009.0.src.rpm
|
Size : 0.12 MB
| |
Packager : Guillaume Rousse < guillomovitch_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/official/2009.0/i586/media/contrib/release |