e Text::CSV::Flatten;
use v5.014;
use strict;
use warnings;
our $VERSION = '0.04';
use JSON qw/ encode_json /;
use Text::CSV;
my @KNOWN_ARGS= qw/ column_name /;
sub new {
my ($class, $pattern
} elsif($it->can('TO_JSON')) {
no warnings 'prototype'; # avoid "_foreach() called too early to check prototype"
_foreach($codeblock, $it->TO_JSON);
} else {
ror";
}
} else {
my $cell_value= ref $cur_data
? encode_json($cur_data)
: $cur_data;
my @column_tuple= @$column_name_prefix ? @$