line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tie::Simple::Hash; |
2
|
|
|
|
|
|
|
$Tie::Simple::Hash::VERSION = '1.04'; |
3
|
4
|
|
|
4
|
|
18
|
use strict; |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
96
|
|
4
|
4
|
|
|
4
|
|
17
|
use warnings; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
107
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
17
|
use base qw(Tie::Hash Tie::Simple); |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
3232
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
# Copyright 2004, 2015 Andrew Sterling Hanenkamp. This software |
9
|
|
|
|
|
|
|
# is made available under the same terms as Perl itself. |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub _doit { |
12
|
16
|
|
|
16
|
|
26
|
my $self = shift; |
13
|
16
|
|
|
|
|
52
|
Tie::Simple::Util::_doit($self, 'Tie::Hash', @_); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
4
|
|
|
4
|
|
104
|
sub FETCH { shift->_doit('FETCH', @_) } |
17
|
4
|
|
|
4
|
|
505
|
sub STORE { shift->_doit('STORE', @_) } |
18
|
1
|
|
|
1
|
|
454
|
sub DELETE { shift->_doit('DELETE', @_) } |
19
|
2
|
|
|
2
|
|
646
|
sub CLEAR { shift->_doit('CLEAR') } |
20
|
0
|
|
|
0
|
|
0
|
sub EXISTS { shift->_doit('EXISTS', @_) } |
21
|
1
|
|
|
1
|
|
16
|
sub FIRSTKEY { shift->_doit('FIRSTKEY') } |
22
|
3
|
|
|
3
|
|
1251
|
sub NEXTKEY { shift->_doit('NEXTKEY', @_) } |
23
|
0
|
|
|
0
|
|
0
|
sub UNTIE { shift->_doit('UNTIE') } |
24
|
1
|
|
|
1
|
|
15
|
sub DESTROY { shift->_doit('DESTROY') } |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |