1Scalar::Does::MooseTypeUss(e3r)Contributed Perl DocumentSactailoanr::Does::MooseTypes(3)
2
3
4

NAME

6       Scalar::Does::MooseTypes - (DEPRECATED) additional constants for
7       Scalar::Does, inspired by the built-in Moose type constraints
8

SYNOPSIS

10         use 5.010;
11         use Scalar::Does qw(does);
12         use Scalar::Does::MooseTypes -all;
13
14         my $var = [];
15         if (does $var, ArrayRef) {
16           say "It's an arrayref!";
17         }
18

STATUS

20       This module is deprecated; use Types::Standard instead:
21
22         use 5.010;
23         use Scalar::Does qw(does);
24         use Types::Standard qw(ArrayRef);
25
26         my $var = [];
27         if (does $var, ArrayRef) {
28           say "It's an arrayref!";
29         }
30

DESCRIPTION

32   Constants
33       "Any"
34       "Item"
35       "Bool"
36       "Undef"
37       "Defined"
38       "Value"
39       "Str"
40       "Num"
41       "Int"
42       "ClassName"
43       "RoleName"
44       "Ref"
45       "ScalarRef"
46       "ArrayRef"
47       "HashRef"
48       "CodeRef"
49       "RegexpRef"
50       "GlobRef"
51       "FileHandle"
52       "Object"
53

SEE ALSO

55       Types::Standard.
56
57       Scalar::Does, Moose::Util::TypeConstraints.
58

AUTHOR

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

DISCLAIMER OF WARRANTIES

69       THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
70       WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
71       MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
72
73
74
75perl v5.32.0                      2020-07-28       Scalar::Does::MooseTypes(3)
Impressum