Name : perl-MooseX-Method
| |
Version : 0.440.0
| Vendor : Mageia_Org
|
Release : 11.mga8
| Date : 2020-02-12 14:16:27
|
Group : Development/Perl
| Source RPM : perl-MooseX-Method-0.440.0-11.mga8.src.rpm
|
Size : 0.11 MB
| |
Packager : umeabot < umeabot>
| |
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/rzm1/linux-mageia/distrib/8/aarch64/media/core/release |