File Coverage

blib/lib/Pipe/Tube/Chomp.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 1 0.0
total 20 21 95.2


line stmt bran cond sub pod time code
1             package Pipe::Tube::Chomp;
2 1     1   4 use strict;
  1         2  
  1         35  
3 1     1   5 use warnings;
  1         2  
  1         44  
4 1     1   28 use 5.006;
  1         3  
  1         39  
5              
6 1     1   14 use base 'Pipe::Tube';
  1         1  
  1         138  
7              
8             our $VERSION = '0.05';
9              
10             sub run {
11 70     70 0 136 my ($self, @input) = @_;
12 70         102 chomp @input;
13 70         202 return @input;
14             }
15              
16             1;
17