| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# |
|
2
|
|
|
|
|
|
|
# (c) Jan Gehring |
|
3
|
|
|
|
|
|
|
# |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Rex::Interface::File::Base; |
|
6
|
|
|
|
|
|
|
|
|
7
|
15
|
|
|
15
|
|
260
|
use v5.12.5; |
|
|
15
|
|
|
|
|
134
|
|
|
8
|
15
|
|
|
15
|
|
110
|
use warnings; |
|
|
15
|
|
|
|
|
67
|
|
|
|
15
|
|
|
|
|
3307
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '1.14.3'; # VERSION |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new { |
|
13
|
189
|
|
|
189
|
0
|
483
|
my $that = shift; |
|
14
|
189
|
|
33
|
|
|
1825
|
my $proto = ref($that) || $that; |
|
15
|
189
|
|
|
|
|
652
|
my $self = {@_}; |
|
16
|
|
|
|
|
|
|
|
|
17
|
189
|
|
|
|
|
485
|
bless( $self, $proto ); |
|
18
|
|
|
|
|
|
|
|
|
19
|
189
|
|
|
|
|
564
|
return $self; |
|
20
|
|
|
|
|
|
|
} |
|
21
|
|
|
|
|
|
|
|
|
22
|
0
|
|
|
0
|
0
|
|
sub open { die("Must be implemented by Interface Class."); } |
|
23
|
0
|
|
|
0
|
0
|
|
sub read { die("Must be implemented by Interface Class."); } |
|
24
|
0
|
|
|
0
|
0
|
|
sub write { die("Must be implemented by Interface Class."); } |
|
25
|
0
|
|
|
0
|
0
|
|
sub close { die("Must be implemented by Interface Class."); } |
|
26
|
0
|
|
|
0
|
0
|
|
sub seek { die("Must be implemented by Interface Class."); } |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
1; |