Skip to content
Sections
>> Trisquel >> Packages >> etiona >> perl >> libparams-validationcompiler-perl
etiona  ] [  nabia  ] [  aramo  ]

Package: libparams-validationcompiler-perl (0.26-1)

module to build an optimized subroutine parameter validator

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.

Other Packages Related to libparams-validationcompiler-perl

  • depends
  • recommends
  • suggests
  • dep: libeval-closure-perl
    Perl module to safely and cleanly create closures via string eval
  • dep: libexception-class-perl
    module that allows you to declare real exception classes in Perl
  • dep: perl
    Larry Wall's Practical Extraction and Report Language
  • dep: perl (>= 5.19.3)
    Larry Wall's Practical Extraction and Report Language
    or libscalar-list-utils-perl (>= 1:1.29)
    modules providing common scalar and list utility subroutines
    also a virtual package provided by perl-base

Download libparams-validationcompiler-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 25.3 kB77 kB [list of files]