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
19SimpleStr
20
21NonEmptySimpleStr
22
23NumericCode
24
25LowerCaseSimpleStr
26
27UpperCaseSimpleStr
28
29Password
30
31StrongPassword
32
33NonEmptyStr
34
35LowerCaseStr
36
37UpperCaseStr
38
39       This module also defines an extra type constraint not found in
40       MooseX::Types::Common::String.
41
42StrLength[`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       <https://github.com/tobyink/p5-type-tiny/issues>.
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-2021 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.34.0                      2022-01-21          Types::Common::String(3)
Impressum