Is There a Perl Module to Easily Read/Write a CSV File Using User-Configurable Delimiters?

后端 未结 2 1668
刺人心
刺人心 2021-01-27 01:47

I\'m currently optimizing and maintaining a Perl script used to analyze two CSV files for different data. After it\'s done analyzing the data, the various results are written ou

相关标签:
2条回答
  • 2021-01-27 02:03

    This should work:

    my $csv = Text::CSV->new({
        'escape_char' => '\\',
        'quote_char' => '"',
        'sep_char' => ','
    });
    
    0 讨论(0)
  • 2021-01-27 02:11

    Also Text::xSV

    0 讨论(0)
提交回复
热议问题