line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tie::Simple::Array; |
2
|
|
|
|
|
|
|
$Tie::Simple::Array::VERSION = '1.04'; |
3
|
4
|
|
|
4
|
|
20
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
92
|
|
4
|
4
|
|
|
4
|
|
19
|
use warnings; |
|
4
|
|
|
|
|
12
|
|
|
4
|
|
|
|
|
102
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
16
|
use base qw(Tie::Array Tie::Simple); |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
3080
|
|
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
|
25
|
|
|
25
|
|
40
|
my $self = shift; |
13
|
25
|
|
|
|
|
61
|
Tie::Simple::Util::_doit($self, 'Tie::Array', @_); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
3
|
|
|
3
|
|
28
|
sub FETCH { shift->_doit('FETCH', @_) } |
17
|
3
|
|
|
3
|
|
439
|
sub STORE { shift->_doit('STORE', @_) } |
18
|
5
|
|
|
5
|
|
836
|
sub FETCHSIZE { shift->_doit('FETCHSIZE') } |
19
|
1
|
|
|
1
|
|
400
|
sub STORESIZE { shift->_doit('STORESIZE', @_) } |
20
|
1
|
|
|
1
|
|
11
|
sub EXTEND { shift->_doit('EXTEND', @_) } |
21
|
4
|
|
|
4
|
|
1138
|
sub EXISTS { shift->_doit('EXISTS', @_) } |
22
|
1
|
|
|
1
|
|
253
|
sub DELETE { shift->_doit('DELETE', @_) } |
23
|
1
|
|
|
1
|
|
268
|
sub CLEAR { shift->_doit('CLEAR') } |
24
|
1
|
|
|
1
|
|
798
|
sub PUSH { shift->_doit('PUSH', @_) } |
25
|
1
|
|
|
1
|
|
527
|
sub POP { shift->_doit('POP') } |
26
|
1
|
|
|
1
|
|
508
|
sub SHIFT { shift->_doit('SHIFT') } |
27
|
1
|
|
|
1
|
|
487
|
sub UNSHIFT { shift->_doit('UNSHIFT', @_) } |
28
|
1
|
|
|
1
|
|
511
|
sub SPLICE { shift->_doit('SPLICE', @_) } |
29
|
0
|
|
|
0
|
|
0
|
sub UNTIE { shift->_doit('UNTIE') } |
30
|
1
|
|
|
1
|
|
516
|
sub DESTROY { shift->_doit('DESTROY') } |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1 |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__END__ |