in reply to •Re: perl 1-liner to join a list?
in thread perl 1-liner to join a list?
But, having said that, I have tried my code as you suggest and still get no results.
cat file | perl -e "while (<>) { push @a, $_; } print join(',',@a);"
Ed
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: •Re: perl 1-liner to join a list?
by Enlil (Parson) on Nov 11, 2003 at 21:48 UTC | |
by Nkuvu (Priest) on Nov 11, 2003 at 22:10 UTC | |
by kelan (Deacon) on Nov 11, 2003 at 22:26 UTC | |
by Nkuvu (Priest) on Nov 11, 2003 at 22:34 UTC | |
by Enlil (Parson) on Nov 12, 2003 at 00:02 UTC |