in reply to Re: Re: perl 1-liner to join a list?
in thread perl 1-liner to join a list?

This was a gimme from my earlier post. It's also fairly readable. Compared to yours, the expression is 1 char shorter, and there's one fewer command-line option.
perl -pe 'eof||y/\n/,/'