Validate method/function parameters
The Params::Validate module allows you to validate method or function
call parameters to an arbitrary level of specificity. At the simplest
level, it is capable of validating the required parameters were given
and that no unspecified additional parameters were passed in.
It is also capable of determining that a parameter is of a specific
type, that it is an object of a certain class hierarchy, that it
possesses certain methods, or applying validation callbacks to
arguments.
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:Rebuild/perl-Params-Validate && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Params-Validate-0.98.tar.bz2 | 0000086362 84.3 KB | |
perl-Params-Validate.changes | 0000006021 5.88 KB | |
perl-Params-Validate.spec | 0000002541 2.48 KB |
Revision 17 (latest revision is 46)
Sascha Peilicke (saschpe)
accepted
request 68353
from
Vítězslav Čížek (vitezslav_cizek)
(revision 17)
- update to 0.98 - Attribute::Params::Validate's $VERSION regressed in 0.96. It's now manually set to 1.07. - update to 0.97 - The XS version of the code always called Carp::confess, regardless of whether you provided your own on_fail callback. Reported by Scott Bolte. RT #66359. - There were a couple spots that called eval without localizing $@ first. RT #58087. - The parameters for each key validation (can, isa, regex) are now checked, and an error is thrown if any of the keys are not valid. Basically, we validate the validation spec. Based on a patch by Andreas Faafeng. RT #57831. - This module now requires Perl 5.8.1. - Switched to version 2.0 of the Artistic License.
Comments 0