line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# vim: ts=2 sw=2 expandtab |
2
|
|
|
|
|
|
|
package Data::Transform::Identity; |
3
|
1
|
|
|
1
|
|
779
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
36
|
|
4
|
|
|
|
|
|
|
|
5
|
1
|
|
|
1
|
|
533
|
use Data::Transform; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
35
|
|
6
|
|
|
|
|
|
|
|
7
|
1
|
|
|
1
|
|
6
|
use vars qw($VERSION @ISA); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
248
|
|
8
|
|
|
|
|
|
|
$VERSION = '0.01'; |
9
|
|
|
|
|
|
|
@ISA = qw(Data::Transform); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub new { |
13
|
1
|
|
|
1
|
1
|
4539
|
my $type = shift; |
14
|
|
|
|
|
|
|
|
15
|
1
|
|
|
|
|
4
|
my $self = bless [ [] ], $type; |
16
|
|
|
|
|
|
|
|
17
|
1
|
|
|
|
|
4
|
return $self; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
sub clone { |
21
|
1
|
|
|
1
|
1
|
756
|
my $self = shift; |
22
|
|
|
|
|
|
|
|
23
|
1
|
|
|
|
|
4
|
my $clone = bless [ [] ], ref $self; |
24
|
|
|
|
|
|
|
|
25
|
1
|
|
|
|
|
3
|
return $clone; |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
sub _handle_get_data { |
29
|
49
|
|
|
49
|
|
61
|
my ($self, $data) = @_; |
30
|
|
|
|
|
|
|
|
31
|
49
|
|
|
|
|
131
|
return $data; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
sub _handle_put_data { |
35
|
10
|
|
|
10
|
|
15
|
my ($self, $chunk) = @_; |
36
|
|
|
|
|
|
|
|
37
|
10
|
|
|
|
|
37
|
return $chunk; |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
__END__ |