| 1 | package Data::TableReader::Decoder::IdiotCSV; | ||||||||||||
| 2 | 1 | ▶ | use Moo 2; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | 1 | ▶ | use Carp; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 1 | ▶ | use Log::Any '$log'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | |||||||||||||
| 6 | 1 | extends 'Data::TableReader::Decoder::CSV'; | |||||||||||
| 7 | |||||||||||||
| 8 | # ABSTRACT: Access rows of a badly formatted comma-delimited text file | ||||||||||||
| 9 | 1 | our $VERSION = '0.023'; # VERSION | |||||||||||
| 10 | |||||||||||||
| 11 | |||||||||||||
| 12 | 1 | ▶ | sub _build_parser { | ||||||||||
|
Subroutine
_build_parser: called CC=2 SCAR=7.2
| |||||||||||||
| 13 | 1 | ▶ | my $args= shift->_parser_args || {}; | ||||||||||
|
Condition50%1/2
(shift())->_parser_args || {}
MC/DC0%0/1
(shift())->_parser_args || {}
(shift())->_parser_args
Truth table50%1/2
A
A= (shift())->_parser_args
| |||||||||||||
| 14 | 1 | Data::TableReader::Decoder::CSV->default_csv_module->new({ | |||||||||||
| 15 | binary => 1, | ||||||||||||
| 16 | allow_loose_quotes => 1, | ||||||||||||
| 17 | allow_whitespace => 1, | ||||||||||||
| 18 | auto_diag => 1, | ||||||||||||
| 19 | escape_char => undef, | ||||||||||||
| 20 | %$args, | ||||||||||||
| 21 | }); | ||||||||||||
| 22 | } | ||||||||||||
| 23 | |||||||||||||
| 24 | 1 | 1; | |||||||||||
| 25 | |||||||||||||
| 26 | __END__ | ||||||||||||