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
  • dep: perl (>= 5.8.7-3)
    Larry Wall's Practical Extraction and Report Language
  • dep: perlapi-5.8.7
    virtual package provided by perl-base

Download libparams-validate-perl

Download for all available architectures
Architecture Package Size Installed Size Files
m68k 59.6 kB216 kB [list of files]