[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Whitespace: the final frontier



On Tue, Feb 01, 2000 at 12:18:59PM +0100, Mark Whitaker (EML) wrote:
> This is probably an old idea, but its particularly twisted evil kept me
> amused for a couple of hours last night.
> The idea came from a comment in O'Reilly's "Mastering Algorithms with Perl". In the section on steganography*, the authors suggest that it would be possible to write an arbitrarily complex program using only whitespace. The idea is as follows:
>    1. Write your program as per usual.
>    2. unpack the code into a binary representation
>    3. Convert the 1s to spaces and the 0s to tabs (or whatever)

The Obfuscated Perl Contest had a large number of entries of this form due
to the first set of rules allowing you an unlimited amount of whitespace.

-- 

Adam Sampson
azz@gnu.org

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe