perl -MText::CSV=csv -e 'for $a (@{csv(in=>"input.csv")}) { csv(in=>[ map[@$a,$_],@{csv(in=>\pop@$a,sep=>";", allow_whitespace=>1)->[0]} ]) }'
In reply to Re: Perl one-liner for array at bash shell
by Anonymous Monk
in thread Perl one-liner for array at bash shell
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |