1Types::Common::String(3U)ser Contributed Perl DocumentatiToynpes::Common::String(3)
2
3
4

NAME

6       Types::Common::String - drop-in replacement for
7       MooseX::Types::Common::String
8

STATUS

10       This module is covered by the Type-Tiny stability policy.
11

DESCRIPTION

13       A drop-in replacement for MooseX::Types::Common::String.
14
15   Types
16       The following types are similar to those described in
17       MooseX::Types::Common::String.
18
19       ·   SimpleStr
20
21       ·   NonEmptySimpleStr
22
23       ·   NumericCode
24
25       ·   LowerCaseSimpleStr
26
27       ·   UpperCaseSimpleStr
28
29       ·   Password
30
31       ·   StrongPassword
32
33       ·   NonEmptyStr
34
35       ·   LowerCaseStr
36
37       ·   UpperCaseStr
38
39       This module also defines an extra type constraint not found in
40       MooseX::Types::Common::String.
41
42       ·   StrLength[`min, `max]
43
44           Type constraint for a string between min and max characters long.
45           For example:
46
47             StrLength[4, 20]
48
49           It is sometimes useful to combine this with another type constraint
50           in an intersection.
51
52             (LowerCaseStr) & (StrLength[4, 20])
53
54           The max length can be omitted.
55
56             StrLength[10]   # at least 10 characters
57
58           Lengths are inclusive.
59

BUGS

61       Please report any bugs to
62       <http://rt.cpan.org/Dist/Display.html?Queue=Type-Tiny>.
63

SEE ALSO

65       Types::Standard, Types::Common::Numeric.
66
67       MooseX::Types::Common, MooseX::Types::Common::Numeric,
68       MooseX::Types::Common::String.
69

AUTHOR

71       Toby Inkster <tobyink@cpan.org>.
72
74       This software is copyright (c) 2013-2014, 2017-2020 by Toby Inkster.
75
76       This is free software; you can redistribute it and/or modify it under
77       the same terms as the Perl 5 programming language system itself.
78

DISCLAIMER OF WARRANTIES

80       THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
81       WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
82       MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
83
84
85
86perl v5.32.0                      2020-09-17          Types::Common::String(3)
Impressum