Thanks.while ( <DATA> ) { chomp; print $_, $.%5 ? ";" : $/; }
In reply to Re^3: Concatenate every 5 lines of input with a comma.
by Anonymous Monk
in thread Concatenate every 5 lines of input with a comma.
by jsh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |