1Test2::Compare::Meta(3)User Contributed Perl DocumentatioTnest2::Compare::Meta(3)
2
3
4

NAME

6       Test2::Compare::Meta - Check library for meta-checks
7

DESCRIPTION

9       Sometimes in a deep comparison you want to run extra checks against an
10       item down the chain. This library allows you to write a check that
11       verifies several attributes of an item.
12

DEFINED CHECKS

14       blessed
15           Lets you check that an item is blessed, and that it is blessed into
16           the expected class.
17
18       reftype
19           Lets you check the reftype of the item.
20
21       this
22           Lets you check the item itself.
23
24       size
25           Lets you check the size of the item. For an arrayref this is the
26           number of elements. For a hashref this is the number of keys. For
27           everything else this is undef.
28

SOURCE

30       The source code repository for Test2-Suite can be found at
31       https://github.com/Test-More/Test2-Suite/.
32

MAINTAINERS

34       Chad Granum <exodist@cpan.org>
35

AUTHORS

37       Chad Granum <exodist@cpan.org>
38
40       Copyright 2018 Chad Granum <exodist@cpan.org>.
41
42       This program is free software; you can redistribute it and/or modify it
43       under the same terms as Perl itself.
44
45       See http://dev.perl.org/licenses/
46
47
48
49perl v5.30.0                      2019-07-26           Test2::Compare::Meta(3)
Impressum