line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
61
|
use 5.008; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
90
|
|
2
|
2
|
|
|
2
|
|
10
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
73
|
|
3
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
146
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Set::Equivalence::_Tie; |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
BEGIN { |
8
|
2
|
|
|
2
|
|
4
|
$Set::Equivalence::_Tie::AUTHORITY = 'cpan:TOBYINK'; |
9
|
2
|
|
|
|
|
637
|
$Set::Equivalence::_Tie::VERSION = '0.003'; |
10
|
|
|
|
|
|
|
} |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
require Tie::Array; |
13
|
|
|
|
|
|
|
our @ISA = qw(Tie::Array); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub TIEARRAY { |
16
|
13
|
|
|
13
|
|
29
|
my ($class, $set) = @_; |
17
|
13
|
|
|
|
|
59
|
bless \$set, $class; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub FETCH { |
21
|
72
|
|
|
72
|
|
72
|
my $set = ${+shift}; |
|
72
|
|
|
|
|
99
|
|
22
|
72
|
|
|
|
|
193
|
($set->members)[$_[0]]; |
23
|
|
|
|
|
|
|
} |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub FETCHSIZE { |
26
|
8
|
|
|
8
|
|
9
|
my $set = ${+shift}; |
|
8
|
|
|
|
|
24
|
|
27
|
8
|
|
|
|
|
29
|
$set->size; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
sub CLEAR { |
31
|
1
|
|
|
1
|
|
2
|
my $set = ${+shift}; |
|
1
|
|
|
|
|
4
|
|
32
|
1
|
|
|
|
|
6
|
$set->clear; |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub PUSH { |
36
|
1
|
|
|
1
|
|
2
|
my $set = ${+shift}; |
|
1
|
|
|
|
|
3
|
|
37
|
1
|
|
|
|
|
6
|
$set->insert(@_); |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
sub UNSHIFT { |
41
|
1
|
|
|
1
|
|
2
|
my $set = ${+shift}; |
|
1
|
|
|
|
|
2
|
|
42
|
1
|
|
|
|
|
5
|
$set->_unshift(@_); |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
sub POP { |
46
|
1
|
|
|
1
|
|
2
|
my $set = ${+shift}; |
|
1
|
|
|
|
|
4
|
|
47
|
1
|
|
|
|
|
5
|
$set->pop(@_); |
48
|
|
|
|
|
|
|
} |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
sub SHIFT { |
51
|
1
|
|
|
1
|
|
2
|
my $set = ${+shift}; |
|
1
|
|
|
|
|
3
|
|
52
|
1
|
|
|
|
|
13
|
$set->_shift(@_); |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
1; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
__END__ |