libparams-validationcompiler-perl

module to build an optimized subroutine parameter validator

Description

Params::ValidationCompiler creates a customized, highly efficient parameter checking subroutine. It can handle named or positional parameters, and can return the parameters as key/value pairs or a list of values.

In addition to type checks, it also supports parameter defaults, optional parameters, and extra "slurpy" parameters.

A parameter specification can be provided as either an arrayref (which expects positional params) or a hashref (which expects named params). Parameter types can be specified as Moose, Type::Tiny or Specio type objects. Parameters can be specified as being optional and can be provided with default values.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Params-ValidationCompiler


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libparams-validationcompiler-perl