The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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,
    );