line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
1546
|
use 5.008; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
48
|
|
2
|
1
|
|
|
1
|
|
6
|
use strict; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
34
|
|
3
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
67
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Text::Pipe::Encoding::Base64::Encode; |
6
|
|
|
|
|
|
|
BEGIN { |
7
|
1
|
|
|
1
|
|
26
|
$Text::Pipe::Encoding::Base64::Encode::VERSION = '1.101700'; |
8
|
|
|
|
|
|
|
} |
9
|
|
|
|
|
|
|
# ABSTRACT: Text pipe that can encode base64 strings |
10
|
1
|
|
|
1
|
|
917
|
use MIME::Base64 3.09; |
|
1
|
|
|
|
|
812
|
|
|
1
|
|
|
|
|
73
|
|
11
|
1
|
|
|
1
|
|
6
|
use parent qw(Text::Pipe::Encoding); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
8
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub filter_single { |
14
|
269
|
|
|
269
|
1
|
184516
|
my ($self, $input) = @_; |
15
|
269
|
|
|
|
|
1470
|
encode_base64($input, ''); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__END__ |