Help for this page

Select Code to Download


  1. or download this
    use Text::CSV;
    my $csv = Text::CSV->new ({
    ...
    $csv->eol ("\n");
    $csv->print ($out_fh, $_) for @rows;
    close $out_fh or die "could not close $out_file: $!\n";