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

Re: The Santa Claus Golf Apocalypse

Thread Previous | Thread Next
From:
Piers Cawley
Date:
December 5, 2001 00:52
Subject:
Re: The Santa Claus Golf Apocalypse
Message ID:
m2n10yrrem.fsf@bofh.org.uk
BooK <philippe.bruhat@free.fr> writes:

> En réponse à Brad Greenlee <brad@footle.org>:
>
>> What's really stumping me is that there has to be a shorter solution
for
>> wc.pl (mine is 23), but I haven't been able to get past the need for
>> printf (at least, not for a shorter solution). Has anyone managed to do
>> it
without it?
>
> My wc.pl is 21, but uses printf. I tried many things to get rid of printf,
> but all of them ended up being longer...

There is a possible 21 char version that doesn't use printf. But it
does use switch magic.

-- 
Piers

   "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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About