2009/11/27 John W. Krahn <jwkr...@shaw.ca>:

> Hello,

>
> $ echo "12
> 23
> 34
> 45
> 56
> 67
> 78" | perl -lpe'$\=--$|?$,:$/'
> 1223
> 3445
> 5667
> 78

For the benefit of this Luddite, please explain?
Dp.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to