etch  ] [  etch-m68k  ] [  lenny  ] [  squeeze  ] [  sid  ]
[ Source: libparams-validate-perl  ]

Package: libparams-validate-perl (0.77-1)

validate parameters to Perl method/function calls

The Params::Validate module provides a flexible system for validating method/function call parameters. The validation can be as simple as checking for the presence of required parameters or as complex as validating object classes (via isa) or capabilities (via can), checking parameter types, and using customized callbacks to ensure data integrity.

The module has been designed to work equally well with positional or named parameters (via a hash or hash reference).

An attribute based implementation of this idea is also included as Attribute::Params::Validate, but it doesn't currently have all the features of the non-attribute version, and its use in production systems is not recommended.

Tags: Software Development: Perl Development, Libraries, Implemented in: Perl, Role: Shared Library

Other Packages Related to libparams-validate-perl

  • depends
  • recommends
  • suggests

Download libparams-validate-perl

Download for all available architectures
Architecture Package Size Installed Size Files
alpha 60.0 kB244 kB [list of files]
amd64 58.5 kB208 kB [list of files]
arm 56.6 kB204 kB [list of files]
hppa 60.9 kB224 kB [list of files]
i386 58.6 kB208 kB [list of files]
ia64 67.7 kB284 kB [list of files]
mips 53.3 kB244 kB [list of files]
mipsel 53.4 kB244 kB [list of files]
powerpc 59.6 kB216 kB [list of files]
s390 57.1 kB216 kB [list of files]
sparc 58.3 kB216 kB [list of files]