line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Sweet::File::CSV; |
2
|
3
|
|
|
3
|
|
6588586
|
use Moose; |
|
3
|
|
|
|
|
279072
|
|
|
3
|
|
|
|
|
17
|
|
3
|
3
|
|
|
3
|
|
13028
|
use namespace::autoclean; |
|
3
|
|
|
|
|
1029
|
|
|
3
|
|
|
|
|
14
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
extends 'Sweet::File::DSV'; |
6
|
|
|
|
|
|
|
|
7
|
3
|
|
|
3
|
|
60
|
sub _build_separator { ',' } |
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( |
20
|
|
|
|
|
|
|
path => '/path/to/file.csv' |
21
|
|
|
|
|
|
|
); |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 INHERITANCE |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
Inherits from C<Sweet::File::DSV>. |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head2 separator |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Separator defaults to C<,>. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=cut |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|