• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

lib/Params/H29-Jul-2017-1,394898

t/H29-Jul-2017-507440

.gitignoreH A D29-Jul-2017193 1514

Build.PLH A D29-Jul-20173.5 KiB144140

ChangesH A D29-Jul-20176.3 KiB222131

MANIFESTH A D29-Jul-2017324 2524

META.jsonH A D29-Jul-20171.6 KiB6867

META.ymlH A D29-Jul-2017983 4241

READMEH A D29-Jul-20171.5 KiB4934

SIGNATUREH A D29-Jul-20172 KiB4740

README

1NAME
2
3Params::Classify - argument type classification
4
5DESCRIPTION
6
7This module provides various type-testing functions.  These are intended
8for functions that, unlike most Perl code, care what type of data they
9are operating on.  For example, some functions wish to behave differently
10depending on the type of their arguments (like overloaded functions
11in C++).
12
13There are two flavours of function in this module.  Functions of the first
14flavour only provide type classification, to allow code to discriminate
15between argument types.  Functions of the second flavour package up the
16most common type of type discrimination: checking that an argument is
17of an expected type.  The functions come in matched pairs, of the two
18flavours, and so the type enforcement functions handle only the simplest
19requirements for arguments of the types handled by the classification
20functions.  Enforcement of more complex types may, of course, be built
21using the classification functions, or it may be more convenient to use
22a module designed for the more complex job, such as L<Params::Validate>.
23
24This module is implemented in XS, with a pure Perl backup version for
25systems that can't handle XS.
26
27INSTALLATION
28
29	perl Build.PL
30	./Build
31	./Build test
32	./Build install
33
34AUTHOR
35
36Andrew Main (Zefram) <zefram@fysh.org>
37
38COPYRIGHT
39
40Copyright (C) 2004, 2006, 2007, 2009, 2010, 2017
41Andrew Main (Zefram) <zefram@fysh.org>
42
43Copyright (C) 2009, 2010 PhotoBox Ltd
44
45LICENSE
46
47This module is free software; you can redistribute it and/or modify it
48under the same terms as Perl itself.
49