| Module-Optional documentation | view source | Contained in the Module-Optional distribution. |
Params::Validate::Dummy - Stub for Params::Validate
use Params::Validate::Dummy qw(); use Module::Optional qw(Params::Validate);
This module provides stub routines for those who don't have Params::Validate installed.
For more details, please refer to the documentation for Params::Validate.
The code here is just stub routines which do NOTHING at all, passing through any arguments in the API and prototypes of Params::Validate. In particular, the dummy stubs do not do defaulting, validation, untainting or anything else that Params::Validate does. If you need this functionality, either provide it yourself in the surrounding code, or don't use this module and insist that the real Params::Validate is installed.
validate, validate_posThe parameter list is passed through as a return value.
validate_withReturns the value of the params option.
set_options, validation_optionsThese do nothing at all.
SCALAR, SCALARREF, ARRAYREF, HASHREF, GLOB,
GLOBREF, BOOLEAN, CODEREF, HANDLE, OBJECT, UNDEF, UNKNOWNIn the Params::Validate module, these are constants implemented by subs that return numbers. This module implements the same functions.
See Module::Optional
| Module-Optional documentation | view source | Contained in the Module-Optional distribution. |