Package Info

perl-Params-Classify


Argument Type Classification


Development/Libraries/Perl

This module provides various type-testing functions. These are intended for functions that, unlike most Perl code, care what type of data they are operating on. For example, some functions wish to behave differently depending on the type of their arguments (like overloaded functions in C++).

There are two flavours of function in this module. Functions of the first flavour only provide type classification, to allow code to discriminate between argument types. Functions of the second flavour package up the most common type of type discrimination: checking that an argument is of an expected type. The functions come in matched pairs, of the two flavours, and so the type enforcement functions handle only the simplest requirements for arguments of the types handled by the classification functions. Enforcement of more complex types may, of course, be built using the classification functions, or it may be more convenient to use a module designed for the more complex job, such as Params::Validate.

This module is implemented in XS, with a pure Perl backup version for systems that can't handle XS.


License: Artistic-1.0 or GPL-1.0+
URL: http://search.cpan.org/dist/Params-Classify/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.015-bp155.2.13 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Params-Classify
0.015-bp154.1.38 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Params-Classify
0.015-bp153.1.19 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Params-Classify
0.015-bp152.3.20 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Params-Classify
0.015-bp151.3.1 info GA Release 2019-07-16 15 SP1
  • AArch64
  • s390x
  • x86-64
  • perl-Params-Classify
0.015-bp151.2.16 info GA Release 2019-05-18 15 SP1
  • ppc64le
  • perl-Params-Classify
0.015-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-Params-Classify