[kw-pm] Last night's meeting
Justin Wheeler
kw-pm at datademons.com
Fri Jun 19 09:41:27 PDT 2009
That's still cheating.
> OK, the remaining "cheating" technique gives a count of 6 chars, as
> long as the only things counted are the contents of the script file
> and any useful command line args.
>
> $ FILE='rand$.<1?$a=$_:1while<>;print$a'
> $ print -n 'eval"$0"' >$FILE
> $ perl $FILE <alpha.html
> $ wc -c $FILE
> 6 rand$.<1?$a=$_:1while<>;print$a
>
> Note: I just noticed that using 'for<>' had a bug - it reads all of
> the lines before processing the modified statement the first time,
> so $. is already incremented to the number of lines in the entire
> input and it does not give a fair selection (and can give no selection
> at all).
>
> That adds 2 chars to my "no assistance" count.
> _______________________________________________
> kw-pm mailing list
> kw-pm at pm.org
> http://mail.pm.org/mailman/listinfo/kw-pm
>
More information about the kw-pm
mailing list