On Thu, Apr 20, 2006 at 07:35:16AM +0530, Ankur Gupta wrote:
>
> {
> local $/ = undef;
> while (<>) {
> s/\n/ /sg;
> print;
> }
> }
The goal in golf is to get the ball in the hole with less strokes, not
more.
--
Chad Perrin [ CCD CopyWrite | http://ccd.apotheon.org ]
"The measure on a man's real character is what he would do
if he knew he would never be found out." - Thomas McCauley
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>