FreeBSD Manual Pages
OpenXPKI::MooseParams(User Contributed Perl DocumentatOpenXPKI::MooseParams(3) Name OpenXPKI::MooseParams - Wrapper around some of MooseX::Params::Validate's functions. Static methods named_args Wrapper for "validated_hash" in MooseX::Params::Validate with slightly modified behaviour: o The first argument MUST be a class name or an instance. o An OpenXPKI::Exception is thrown in case of errors. Usage: sub the_action { my ($self, %args) = named_args(\@_, text => { isa => 'Maybe[Str]' }, loud => { isa => 'Bool' }, ); print $args{text} if $args{loud}; } positional_args Wrapper for "pos_validated_list" in MooseX::Params::Validate with slightly modified behaviour: o The first argument MUST be a class name or an instance. o An OpenXPKI::Exception is thrown in case of errors. Usage: my ($self, $query, $return_rownum) = positional_args(\@_, { isa => 'OpenXPKI::Server::Database::Query|Str' }, { isa => 'Bool', optional => 1, default => 0 }, ); perl v5.32.1 2021-03-01 OpenXPKI::MooseParams(3)
Name | Static methods
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=OpenXPKI::MooseParams&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>