in reply to One Liner to double quote every field in a delimited file
I am still testing, but the next release of Text::CSV_XS will offer that as
$ perl -MText::CSV_XS=csv -we'csv (in => csv (file => "file.csv"), out
+ => *STDOUT, always_quote => 1)'
I expect to release somewhere next week.
A longer one-liner that works with Text::CSV_XS right now is:
$ perl -MText::CSV_XS -we'$c=Text::CSV_XS->new;$a=$c->getline_all(\*AR
Enjoy, Have FUN! H.Merijn