Benchmark-Featureset-ParamCheck
view release on metacpan or search on metacpan
lib/Benchmark/Featureset/ParamCheck/Base/MXPV.pm view on Meta::CPAN
use v5.12;
use strict;
use warnings;
package Benchmark::Featureset::ParamCheck::Base::MXPV;
our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION = '0.007';
use parent qw(Benchmark::Featureset::ParamCheck::Base);
use MooseX::Params::Validate 0.21;
use namespace::autoclean;
sub run_named_check {
my ($class, $times, @args) = @_;
my $check = $class->get_named_check;
validated_hash(\@args, %$check) for 1 .. $times;
return;
}
sub run_positional_check {
my ($class, $times, @args) = @_;
my $check = $class->get_positional_check;
pos_validated_list(\@args, @$check) for 1 .. $times;
return;
}
1;
( run in 0.840 second using v1.01-cache-2.11-cpan-39bf76dae61 )