Obfuscated Perl
“Deane writes”:http://www.gadgetopia.com/2004/12/24/TheObfuscatedPerlContest.html some about the Obfuscated Perl Contest, which is, indeed, a n oxymoron pleonasm.
That this program (using all the keywords in Perl and nothing else) displays “just another perl hacker” would blow my mind so I had to test it and sure enough, it worked.
bc(code). not exp log srand xor s qq qx xor
s x x length uc ord and print chr
ord for qw q join use sub tied qx
xor eval xor print qq q q xor int
eval lc q m cos and print chr ord
for qw y abs ne open tied hex exp
ref y m xor scalar srand print qq
q q xor int eval lc qq y sqrt cos
and print chr ord for qw x printf
each return local x y or print qq
s s and eval q s undef or oct xor
time xor ref print chr int ord lc
foreach qw y hex alarm chdir kill
exec return y s gt sin sort split
Oh those zany perl hackers.
It seriously worked? I had my doubts.
“the Obfuscated Perl Contest, which is, indeed, an oxymoron”
I think you mean “redundant”.
“A cleanly-written Perl script” is the oxymoron.
Also, it doesn’t use “all the keywords in Perl”, just a subset of them (for example, there is no “if”).
It did indeed work, indeed it is not an oxymoron but a pleonasm, and indeed it uses only Perl keywords but not all of them.