Params::Validate::Dummy(3pm) User Contributed Perl Documentation Params::Validate::Dummy(3pm)

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.

The parameter list is passed through as a return value.

Returns the value of the params option.

These do nothing at all.

In the Params::Validate module, these are constants implemented by subs that return numbers. This module implements the same functions.

See Module::Optional

2021-01-07 perl v5.32.0