File Coverage

blib/lib/Text/Pipe/Reverse.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Text::Pipe::Reverse;
2              
3 5     5   33 use warnings;
  5         11  
  5         228  
4 5     5   32 use strict;
  5         20  
  5         293  
5              
6              
7             our $VERSION = '0.10';
8              
9              
10 5     5   29 use base 'Text::Pipe::Base';
  5         13  
  5         1298  
11              
12              
13             sub filter_single {
14 10     10 1 18 my ($self, $input) = @_;
15 10         56 scalar reverse $input;
16             }
17              
18              
19             1;
20              
21              
22             __END__