Some (minor) spoilers follow. I don't have time to parse through
the whole thing right now, but if anyone has the urge to,
that would be great.
The entire "Content-type" string is a sort of red herring
and is never printed out, although the script does create
an html file. Basically use it like this:
obfuscindex.pl > foo.html
and then take a look at the foo.html file in your favorite
browser. Most of the script is spent getting a string
ready to pass into the eval near the end. Then the rest of
the script munges the output of the eval a bit, and
outputs it. This was for the Obfuscated Perl Contest
category 2: "World Wide Wasteland". The object was to
create a truly horrific web page. Keeping it under 512
characters was definitely the hardest part, but it was
a nice challenge. The result is certainly a very ugly,
if oddly familiar, web page. Will not work on a Solaris
box (hint hint). | [reply] [d/l] |