line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Data::KeyDiff::Element; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
15
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
53
|
|
4
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
56
|
|
5
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
1567
|
use Object::Tiny qw/key value rank position item in_before in_after is_new/; |
|
2
|
|
|
|
|
780
|
|
|
2
|
|
|
|
|
11
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 DESCRIPTION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
An element from a set |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 METHODS |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head2 $element->key |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
The key of the item |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head2 $element->value |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
The prepared value of the item, if a prepare method was given (otherwise, this is just the original item) |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head2 $element->rank |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
The rank of the item in the set |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head2 $element->position |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
The position of the item in the set |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 $element->item |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
The original, unmodified item from the set |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head2 $element->in_before |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Indicates that the item is from the before set |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head2 $element->in_after |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Indicates that the item is from the after set |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 $element->is_new |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Indicates that the item is new |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
1; |