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       "NonEmptySimpleStr"
21       "NumericCode"
22       "LowerCaseSimpleStr"
23       "UpperCaseSimpleStr"
24       "Password"
25       "StrongPassword"
26       "NonEmptyStr"
27       "LowerCaseStr"
28       "UpperCaseStr"
29
30       This module also defines an extra type constraint not found in
31       MooseX::Types::Common::String.
32
33       "StrLength[`min, `max]"
34           Type constraint for a string between min and max characters long.
35           For example:
36
37             StrLength[4, 20]
38
39           It is sometimes useful to combine this with another type constraint
40           in an intersection.
41
42             (LowerCaseStr) & (StrLength[4, 20])
43
44           The max length can be omitted.
45
46             StrLength[10]   # at least 10 characters
47
48           Lengths are inclusive.
49

BUGS

51       Please report any bugs to
52       <http://rt.cpan.org/Dist/Display.html?Queue=Type-Tiny>.
53

SEE ALSO

55       Types::Standard, Types::Common::Numeric.
56
57       MooseX::Types::Common, MooseX::Types::Common::Numeric,
58       MooseX::Types::Common::String.
59

AUTHOR

61       Toby Inkster <tobyink@cpan.org>.
62
64       This software is copyright (c) 2013-2014, 2017-2019 by Toby Inkster.
65
66       This is free software; you can redistribute it and/or modify it under
67       the same terms as the Perl 5 programming language system itself.
68

DISCLAIMER OF WARRANTIES

70       THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
71       WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
72       MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
73
74
75
76perl v5.28.1                      2019-01-08          Types::Common::String(3)
Impressum