CSV

read CSV

write CSV

    use Text::CSV_XS qw[];

    Text::CSV_XS::csv(
        in          => Array[HashRef],
        out         => 'filename.csv',
        headers     => [qw[field1 field2 ...]],
        binary      => 1,
        encoding    => 'UTF-8',
        decode_utf8 => 0,
        eol         => $LF,
    );