Name : perl-MooseX-Method
| |
Version : 0.440.0
| Vendor : Mageia_Org
|
Release : 12.mga9
| Date : 2022-03-21 00:28:47
|
Group : Development/Perl
| Source RPM : perl-MooseX-Method-0.440.0-12.mga9.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/rzm3/linux-mageia/distrib/cauldron/aarch64/media/core/release |