![]() |
![]()
| ![]() |
![]()
NameOpenXPKI::MooseParams - Wrapper around some of MooseX::Params::Validate's functions. Static methodsnamed_argsWrapper for "validated_hash" in MooseX::Params::Validate with slightly modified behaviour:
Usage: sub the_action { my ($self, %args) = named_args(\@_, text => { isa => 'Maybe[Str]' }, loud => { isa => 'Bool' }, ); print $args{text} if $args{loud}; } positional_argsWrapper for "pos_validated_list" in MooseX::Params::Validate with slightly modified behaviour:
Usage: my ($self, $query, $return_rownum) = positional_args(\@_, { isa => 'OpenXPKI::Server::Database::Query|Str' }, { isa => 'Bool', optional => 1, default => 0 }, );
|