Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > contrib-release-src > by-pkgid > e8b7f02f9bc79420b9cf60b4a4d433a6

perl-MooseX-Method-0.440.0-1mdv2010.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: