Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libparams-validate-perl

validate parameters to Perl method/function calls

Variants:
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.

Homepage:
Package version:0.91-2
Architecture:amd64
Distribution:Debian
Filename:libparams-validate-perl_0.91-2_amd64.deb

/usr/share/man/man3/Attribute::Params::Validate.3pm.gz

Attribute::ParamsUserlContributed PeAttribute::Params::Validate(3pm)



NAME
       Attribute::Params::Validate - Validate method/function
       parameters using attributes

SYNOPSIS
         use Attribute::Params::Validate qw(:all);

         # takes named params (hash or hashref)
         # foo is mandatory, bar is optional
         sub foo : Validate( foo => 1, bar => 0 )
         {
          
more»

/usr/share/man/man3/Params::Validate.3pm.gz

Params::Validate(User Contributed Perl DocumentParams::Validate(3pm)



NAME
       Params::Validate - Validate method/function parameters

SYNOPSIS
         use Params::Validate qw(:all);

         # takes named params (hash or hashref)
         sub foo
         {
             validate( @_, { foo => 1, # mandatory
                             bar => 0, # optional
                           }
    
more»

/usr/share/man/man3/Params::ValidatePP.3pm.gz

Params::ValidatePUsermContributed Perl DocumeParams::ValidatePP(3pm)



NAME
       Params::ValidatePP - pure Perl implementation of
       Params::Validate

SYNOPSIS
         See Params::Validate

DESCRIPTION
       This is a pure Perl implementation of Params::Validate.  See
       the Params::Validate documentation for details.

COPYRIGHT
       Copyright (c) 2004-2007 David Rolsky.  All rights
more»

/usr/share/man/man3/Params::ValidateXS.3pm.gz

Params::ValidateXUsermContributed Perl DocumeParams::ValidateXS(3pm)



NAME
       Params::Validate
more»

/usr/share/doc/libparams-validate-perl/changelog.Debian.gz

libparams-validate-perl (0.91-2) unstable; urgency=high

  * drop prototype.patch; unneeded with 0.9
more»

/usr/share/doc/libparams-validate-perl/changelog.gz

0.91 May 3, 2008

- The fix for handling @_'s readonly-ness introduced a refcounting
  bug. One symp
more»

/usr/share/doc/libparams-validate-perl/copyright

This package is now maintained by Britton Kerin <bkerin@debian.org>
(as of 23rd April 2002).

This p
more»

Browse inside libparams-validate-perl_0.91-2_amd64.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download libparams-validate-perl_0.91-2_amd64.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com