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_pos
The parameter list is passed through as a return value.
validate_with
Returns the value of the params option.
set_options
validation_options
These do nothing at all.
SCALAR
SCALARREF
ARRAYREF
HASHREF
GLOB
GLOBREF
BOOLEAN
CODEREF
HANDLE
OBJECT
UNDEF
UNKNOWN
In the Params::Validate module, these are constants implemented by subs that return numbers. This module implements the same functions.
See Module::Optional
To install Module::Optional, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Optional
CPAN shell
perl -MCPAN -e shell install Module::Optional
For more information on module installation, please visit the detailed CPAN module installation guide.