| 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 |