Are you in for some real torture, are you bright to the point of abstracted nonsensical obfuscation? Ok perl boy, here's your 15 minutes.
The 5th annual "Obfuscated Perl Contest" is underway and you can email contest entries in by August 15th.
This is a crazy but fun contest and it takes some fortitude mixed with attitude and aptitude to win it.
Check the itknowledge link for further details (like what the categories are and where to send entries, etc.)
Check last years winning entry for "The Old Standy", the Perl Journal in 256 characters or less.
#!/usr/bin/perl -l
print ocr(<<TPJ);
# # # ## ## ## ## # # # # # ## # # # #
### # # # # # # # # # # # # # # # # ## # # # #
# ### ## ## ## ## # # # # # # ## # ## ### #
# # # # # # # # # # # # # # # # # # # # # #
# # # ## # ## # # ## ### # ### # # # # # # ##
TPJ
sub ocr{@{$-[$@++]}=split$,for(split'\n',shift);for$@(0..4){for(0..51){++$_{$_
}if($-[$@][$_]=~$")}}@&=(-1);for(sort{$a<=>$b}keys%_){push@&,$_ if($_{$_}>4)
}push@&,52;for$@(0..13){@{$|[$@][$_]}=@{$-[$_]}[$&[$@]+1..$&[$@+1]-1]for(0..
4)}for(@|){**=$_;$w=@{$*[$^=$$=0]}-1;for$@(0..4){for(1..$w){$^++if$*[$@][$_
]ne$*[$@][$_-1]}}for(0..$w){for$@(1..4){$$++ if$*[$@][$_]ne$*[$@-1][$_]}}
for(0..20){push@},chr$_+65if(7*(8,4,2,9,2,3,7,8,1,$@,5,4,9,10,10,6,3,8,4,
8,8)[$_]+(5,8,3,3,4,2,1,2,8,2,7,1,5,4,6,$@,3,6,8,4,1)[$_]==7*$^+$$)}}@}}
Chatter
1 day 9 hours ago
3 days 10 hours ago
4 days 14 hours ago
2 weeks 17 hours ago
2 weeks 3 days ago
3 weeks 20 hours ago
4 weeks 1 day ago
4 weeks 1 day ago
5 weeks 2 days ago
5 weeks 3 days ago