blib/lib/Cfwp/fio.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond 0.0% 0 / 4 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
read_file
2.0
read_file_text
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/env perl
2 package Cfwp::fio;
3 our $VERSION = 0.04;
4  
5 use Modern::Perl;
6  
7 sub read_file {
8 $_ = shift;
9 open( IN, $_ ) or die "Can't open $_";
10 my @texts = <IN>;
11 close IN;
12 @texts;
13 }
14  
15 sub read_file_text {
16 $_ = shift;
17 local $/ = undef;
18 open( IN, $_ ) or die "Can't open $_";
19 $_ = <IN>;
20 close IN;
21 $_;
22 }
23  
24 1;