1MouseX::Types::Common::USsterrinCgo(n3t)ributed Perl DocMuomuesnetXa:t:iToynpes::Common::String(3)
2
3
4

NAME

6       MouseX::Types::Common::String - A set of commonly-used string type
7       constraints
8

SYNOPSIS

10           use MouseX::Types::Common::String qw/SimpleStr/;
11           has short_str => (is => 'rw', isa => SimpleStr);
12
13           ...
14           #this will fail
15           $object->short_str("string\nwith\nbreaks");
16

DESCRIPTION

18       A set of commonly-used string type constraints that do not ship with
19       Mouse by default.
20
21       •   SimpleStr
22
23           A Str with no new-line characters.
24
25       •   NonEmptySimpleStr
26
27           Does what it says on the tin.
28
29       •   Password
30
31       •   StrongPassword
32
33       •   NonEmptyStr
34

SEE ALSO

36       •   MouseX::Types::Common::Numeric
37

AUTHORS

39       Please see:: MouseX::Types::Common
40
41
42
43perl v5.38.0                      2023-07-21  MouseX::Types::Common::String(3)
Impressum