[kw-pm] Last night's meeting

John Macdonald john at perlwolf.com
Fri Jun 19 08:49:30 PDT 2009


On Fri, Jun 19, 2009 at 11:39:38AM -0400, John Macdonald wrote:
> On Fri, Jun 19, 2009 at 11:29:20AM -0400, John Macdonald wrote:
> 
> $ perl -e 'rand$.<1?$a=$_:1for<>;print$a' <alpha.html
> 
> which is 29 chars.

And to fill out my original argument against "cheating", if the
size of command line switches other than -e is not counted in
the rating system, then the solution:

$ perl -M'-warnings;rand$.<1?$a=$_:1for<>;print$a' -e '' <alpha.html

is a solution with 0 chars.


More information about the kw-pm mailing list