line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Tie::Simple::Handle; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
21
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
124
|
|
4
|
4
|
|
|
4
|
|
18
|
use warnings; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
182
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '1.01'; |
7
|
|
|
|
|
|
|
|
8
|
4
|
|
|
4
|
|
18
|
use base qw(Tie::Handle Tie::Simple); |
|
4
|
|
|
|
|
5
|
|
|
4
|
|
|
|
|
3442
|
|
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
|
8
|
|
|
8
|
|
15
|
my $self = shift; |
15
|
8
|
|
|
|
|
24
|
Tie::Simple::Util::_doit($self, 'Tie::Handle', @_); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
1
|
|
|
1
|
|
437
|
sub WRITE { shift->_doit('WRITE', @_) } |
19
|
1
|
|
|
1
|
|
15
|
sub PRINT { shift->_doit('PRINT', @_) } |
20
|
1
|
|
|
1
|
|
12
|
sub PRINTF { shift->_doit('PRINTF', @_) } |
21
|
1
|
|
|
1
|
|
18
|
sub READ { shift->_doit('READ', @_) } |
22
|
1
|
|
|
1
|
|
924
|
sub READLINE { shift->_doit('READLINE') } |
23
|
1
|
|
|
1
|
|
520
|
sub GETC { shift->_doit('GETC') } |
24
|
2
|
|
|
2
|
|
569
|
sub CLOSE { shift->_doit('CLOSE') } |
25
|
0
|
|
|
0
|
|
|
sub UNTIE { shift->_doit('UNTIE') } |
26
|
0
|
|
|
0
|
0
|
|
sub DESTORY { shift->_doit('DESTORY') } |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1 |