./devel/p5-Params-Classify, Perl5 module for argument type classification

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2013Q2, Version: 0.013nb2, Package name: p5-Params-Classify-0.013nb2, Maintainer: pkgsrc-users

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.


Required to build:
[devel/p5-Module-Build]

Master sites: (Expand)

SHA1: 00bcfc849ca40a2136366760641ff5650dd7950f
RMD160: 2e971e5358080f11a20af0c4a8015d5ad932d888
Filesize: 20.521 KB

Version history: (Expand)