in reply to Re^5: Perl one-liner for array at bash shell
in thread Perl one-liner for array at bash shell

Same but shorter
perl -naF, -le '$"=",";print"@F,$_"for split/[;\s]+/,pop@F'