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

Re: Santa Hole 2 (tail.pl) Post Mortem

Thread Previous | Thread Next
From:
Jeff 'japhy' Pinyan
Date:
December 6, 2001 15:46
Subject:
Re: Santa Hole 2 (tail.pl) Post Mortem
Message ID:
Pine.GSO.4.21.0112061845280.14590-100000@crusoe.crusoe.net
On Dec 7, Andrew.Savige@ir.com said:

>It proved frustrating, as evidenced by Japhy's mid-game comment:
>"Geez, I have three different solutions for tail.pl, ALL the
>same length (19 chars).  Has someone gotten below 19?"

Here were my other two 19-ers:

  map--$.>9||print,<>
  --$.>9||print for<>

You can see my angst.  That damned space irritated me.

-- 
Jeff "japhy" Pinyan      japhy@pobox.com      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.


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