Help for this page

Select Code to Download


  1. or download this
    my $re = qr{(?:"(?<a>[^"]*)"|(?<a>[^,]*))(?:,|\000)};
    
    print $tff_fh $_ for map { chomp; s/$re/$+{a}\037/g; $_ } <$csv_fh>;