$ perl -Mstrict -Mwarnings -E ' say join q{;}, map { chomp; $_ } split m{(?<=\n)}, <