1Types::Common(3) User Contributed Perl Documentation Types::Common(3)
2
3
4
6 Types::Common - the one stop shop
7
9 This module is covered by the Type-Tiny stability policy.
10
12 Types::Common doesn't provide any types or functions of its own.
13 Instead it's a single module that re-exports:
14
15 • All the types from Types::Standard.
16
17 • All the types from Types::Common::Numeric and
18 Types::Common::String.
19
20 • All the types from Types::TypeTiny.
21
22 • The "-sigs" tag from Type::Params.
23
24 • The "t()" function from Type::Registry.
25
26 If you import "t()", it will also be preloaded with all the type
27 constraints offered by Types::Common.
28
30 "use Types::Common qw( -types -sigs t )" might be a sensible place to
31 start.
32
33 "use Types::Common -all" gives you everything.
34
35 If you have Perl 5.37.2+, then "use Types::Common qw( -lexical -all )"
36 won't pollute your namespace.
37
39 Please report any bugs to
40 <https://github.com/tobyink/p5-type-tiny/issues>.
41
43 Types::Standard, Types::Common::Numeric, Types::Common::String;
44 Type::Params; Type::Registry.
45
47 Toby Inkster <tobyink@cpan.org>.
48
50 This software is copyright (c) 2022-2023 by Toby Inkster.
51
52 This is free software; you can redistribute it and/or modify it under
53 the same terms as the Perl 5 programming language system itself.
54
56 THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
57 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
58 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
59
60
61
62perl v5.36.0 2023-01-04 Types::Common(3)