Skip to content
Sections
>> Trisquel >> Balíky >> etiona >> perl >> libparams-validationcompiler-perl
etiona  ] [  nabia  ] [  aramo  ]

Balík: 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.

Ostatné balíky súvisiace s balíkom libparams-validationcompiler-perl

  • závisí
  • odporúča
  • navrhuje
  • 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
    alebo libscalar-list-utils-perl (>= 1:1.29)
    modules providing common scalar and list utility subroutines
    tiež virtuálny balík poskytovaný balíkom perl-base

Stiahnuť libparams-validationcompiler-perl

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 25.3 kB77 kB [zoznam súborov]