Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release-src > by-pkgid > 5c4a64978c7d2dc4d181c22dd0b4c862

perl-MooseX-Method-0.42-1mdv2009.0.src.rpm

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) = @_;

die "Invalid arg1"
unless (defined $arg->{bar} && $arg->{bar} =~ m/bar/);
}

Generated packages:

Other version of this rpm: