line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tie::Simple::Array; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
19
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
117
|
|
4
|
4
|
|
|
4
|
|
18
|
use warnings; |
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
142
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.01'; |
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
17
|
use base qw(Tie::Array Tie::Simple); |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
3581
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
# Copyright 2004 Andrew Sterling Hanenkamp. All Rights Reserved. This software |
11
|
|
|
|
|
|
|
# is made available under the same terms as Perl itself. |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub _doit { |
14
|
25
|
|
|
25
|
|
43
|
my $self = shift; |
15
|
25
|
|
|
|
|
90
|
Tie::Simple::Util::_doit($self, 'Tie::Array', @_); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
3
|
|
|
3
|
|
36
|
sub FETCH { shift->_doit('FETCH', @_) } |
19
|
3
|
|
|
3
|
|
823
|
sub STORE { shift->_doit('STORE', @_) } |
20
|
5
|
|
|
5
|
|
1221
|
sub FETCHSIZE { shift->_doit('FETCHSIZE') } |
21
|
1
|
|
|
1
|
|
586
|
sub STORESIZE { shift->_doit('STORESIZE', @_) } |
22
|
1
|
|
|
1
|
|
14
|
sub EXTEND { shift->_doit('EXTEND', @_) } |
23
|
4
|
|
|
4
|
|
1626
|
sub EXISTS { shift->_doit('EXISTS', @_) } |
24
|
1
|
|
|
1
|
|
379
|
sub DELETE { shift->_doit('DELETE', @_) } |
25
|
1
|
|
|
1
|
|
386
|
sub CLEAR { shift->_doit('CLEAR') } |
26
|
1
|
|
|
1
|
|
1063
|
sub PUSH { shift->_doit('PUSH', @_) } |
27
|
1
|
|
|
1
|
|
738
|
sub POP { shift->_doit('POP') } |
28
|
1
|
|
|
1
|
|
724
|
sub SHIFT { shift->_doit('SHIFT') } |
29
|
1
|
|
|
1
|
|
850
|
sub UNSHIFT { shift->_doit('UNSHIFT', @_) } |
30
|
1
|
|
|
1
|
|
778
|
sub SPLICE { shift->_doit('SPLICE', @_) } |
31
|
0
|
|
|
0
|
|
0
|
sub UNTIE { shift->_doit('UNTIE') } |
32
|
1
|
|
|
1
|
|
727
|
sub DESTROY { shift->_doit('DESTROY') } |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1 |