line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tie::Simple::Handle; |
2
|
|
|
|
|
|
|
$Tie::Simple::Handle::VERSION = '1.04'; |
3
|
4
|
|
|
4
|
|
20
|
use strict; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
97
|
|
4
|
4
|
|
|
4
|
|
17
|
use warnings; |
|
4
|
|
|
|
|
9
|
|
|
4
|
|
|
|
|
114
|
|
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
19
|
use base qw(Tie::Handle Tie::Simple); |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
3253
|
|
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
|
8
|
|
|
8
|
|
12
|
my $self = shift; |
13
|
8
|
|
|
|
|
26
|
Tie::Simple::Util::_doit($self, 'Tie::Handle', @_); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
1
|
|
|
1
|
|
476
|
sub WRITE { shift->_doit('WRITE', @_) } |
17
|
1
|
|
|
1
|
|
16
|
sub PRINT { shift->_doit('PRINT', @_) } |
18
|
1
|
|
|
1
|
|
12
|
sub PRINTF { shift->_doit('PRINTF', @_) } |
19
|
1
|
|
|
1
|
|
15
|
sub READ { shift->_doit('READ', @_) } |
20
|
1
|
|
|
1
|
|
801
|
sub READLINE { shift->_doit('READLINE') } |
21
|
1
|
|
|
1
|
|
486
|
sub GETC { shift->_doit('GETC') } |
22
|
2
|
|
|
2
|
|
487
|
sub CLOSE { shift->_doit('CLOSE') } |
23
|
0
|
|
|
0
|
|
|
sub UNTIE { shift->_doit('UNTIE') } |
24
|
0
|
|
|
0
|
|
|
sub DESTROY { shift->_doit('DESTROY') } |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
1 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__END__ |