| blib/lib/Sweet/File/CSV.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 1 | 3 | 33.3 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | n/a | ||
| total | 2 | 4 | 50.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Sweet::File::CSV; | ||||||
| 2 | 1 | 1 | 337354 | use Moose; | |||
| 0 | |||||||
| 0 | |||||||
| 3 | use namespace::autoclean; | ||||||
| 4 | |||||||
| 5 | extends 'Sweet::File::DSV'; | ||||||
| 6 | |||||||
| 7 | sub _build_sep { ',' } | ||||||
| 8 | |||||||
| 9 | __PACKAGE__->meta->make_immutable; | ||||||
| 10 | |||||||
| 11 | 1; | ||||||
| 12 | |||||||
| 13 | =head1 NAME | ||||||
| 14 | |||||||
| 15 | Sweet::File::CSV | ||||||
| 16 | |||||||
| 17 | =head1 SYNOPSIS | ||||||
| 18 | |||||||
| 19 | my $csv = Sweet::File::CSV->new(dir => $dir, name => 'file.csv'); | ||||||
| 20 | |||||||
| 21 | =head1 ATTRIBUTES | ||||||
| 22 | |||||||
| 23 | =head2 sep | ||||||
| 24 | |||||||
| 25 | Separator defaults to C<,>. | ||||||
| 26 | |||||||
| 27 | =cut | ||||||
| 28 |