Help for this page

Select Code to Download


  1. or download this
    my $csv = Text::CSV_XS->new ({
        quote_char => '"',
    ...
        for my $i (0..$#data) {
            push @{$columns[$i]}, $data[$i];
            }
    
  2. or download this
    my $csv = Text::CSV_XS->new ({
        binary             => 1,
    ...
            my ($key, $value) = split m/"?:"?/, $_, 2;
            # ... 
            }