File/CSV.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
_build_separator
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Sweet::File::CSV;
2 use latest;
3 use Moose;
4 use namespace::autoclean;
5  
6 extends 'Sweet::File::DSV';
7  
8 sub _build_separator { ',' }
9  
10 __PACKAGE__->meta->make_immutable;
11  
12 1;
13  
14 =head1 NAME
15  
16 Sweet::File::CSV
17  
18 =head1 SYNOPSIS
19  
20 my $csv = Sweet::File::CSV->new(
21 path => '/path/to/file.csv'
22 );
23  
24 =head1 INHERITANCE
25  
26 Inherits from C<Sweet::File::DSV>.
27  
28 =head1 ATTRIBUTES
29  
30 =head2 separator
31  
32 Separator defaults to C<,>.
33  
34 =cut
35