b0a44bf243
- validate_pos used exists on an array element, which only works with 5.6.0. This releaes makes it work 5.00503 again. - the validation parameters are checked first now - performance improved on named parameters - add BOOLEAN type (equivalent to UNDEF | SCALAR) - fixed buges in test - apply some of the same optimizations to positional parameters
6 lines
351 B
Text
6 lines
351 B
Text
The Params::Validate module provides a flexible system for validation
|
|
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.
|