develooper Front page | perl.fwp | Postings from December 2001

Re: The Santa Claus Golf Apocalypse

Thread Previous | Thread Next
Piers Cawley
December 6, 2001 15:16
Re: The Santa Claus Golf Apocalypse
Message ID:
Karsten Sperling <> writes:

>>> *** Eugene van der Pijll: 89 (11 19 13 25 21) ***
>>> ---  ---------------------------------------------
>>> #!/usr/bin/perl -p
>>> $\=$_.$\}{
>> That's just *beautiful*. I just couldn't see past 'print reverse<>'.
> I've been wondering for hours now how he keeps $_ from being
> destroyed by the last iteration. Of course, he just doesn't.
> Congratulations Eugene!

Yeah, it's a fantastic sidestep isn't it? I'm kicking myself for not
spotting it. It's one of those really obvious things once you see it.


   "It is a truth universally acknowledged that a language in
    possession of a rich syntax must be in need of a rewrite."
         -- Jane Austen?

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About