Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> perl >> libparams-validationcompiler-perl
etiona  ] [  nabia  ] [  aramo  ]

软件包: 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.

其他与 libparams-validationcompiler-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 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
    或者 libscalar-list-utils-perl (>= 1:1.29)
    modules providing common scalar and list utility subroutines
    同时作为一个虚包由这些包填实: perl-base

下载 libparams-validationcompiler-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 25.3 kB77 kB [文件列表]