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

Re: Santa Hole 5 ( Post Mortem

Thread Previous | Thread Next
December 7, 2001 05:59
Re: Santa Hole 5 ( Post Mortem
Message ID:
En réponse à "Keith C. Ivey" <>:

> > --- Keith C Ivey --------------------- 22
> > #! /usr/bin/perl -lp
> > }{$_=7e10+$.,s$.$$
> Looks like I was the only one who didn't use printf on this 
> hole (other than Piers, but using $# is similar), and I was 
> only one stroke short of the winners.

That's a very clever one!
> I'm surprised no one submitted anything with 0 x10, but I
> guess those always end up too long.

Well, I tried a lot of thing with x10, like $-x10, because I wanted really
hard to use the magic features of ++ on strings, but they were all too long.

When I get home in a few hours, il post all my tests for, in decreasing
length... (some of the longuest for found very late -- had to test others ways
to do it)

 Philippe BRUHAT - BooK

 When you run from your problem, you make it that much harder for good
 fortune to catch you, as well.     (Moral from Groo The Wanderer #14 (Epic))

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