Block2csv

From Federal Burro of Information
Revision as of 14:17, 10 July 2020 by David (talk | contribs)
Jump to navigationJump to search
#!/usr/bin/perl -w

use strict;
use Data::Dumper;

$/ = "\n\n";

# Datastore
while (<>){
    # print;
    my $r;
    my @arr =  split "\n";
    print join ( "," , @arr ) . "\n";
}