GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
OpenXPKI::MooseParams(3) User Contributed Perl Documentation OpenXPKI::MooseParams(3)

OpenXPKI::MooseParams - Wrapper around some of MooseX::Params::Validate's functions.

Wrapper for "validated_hash" in MooseX::Params::Validate with slightly modified behaviour:
  • The first argument MUST be a class name or an instance.
  • 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};
    }

Wrapper for "pos_validated_list" in MooseX::Params::Validate with slightly modified behaviour:
  • The first argument MUST be a class name or an instance.
  • 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 },
    );
2022-05-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.