Obfuscation
"Riley" <[email protected]> Tue, 30 Mar 2004 12:05:50 -0600
| Newsgroups | gmane.comp.lang.perl.golf |
|---|---|
| Organization | Legalbill |
| Message-ID | <[email protected]> |
Hello All!
While we're waiting for the new golf, I wanted to share with everyone
a new script that I've written, and open it up to discussion. Kudos to
those who can figure out what it does without running it...
-Riley
(o0lit3)
<CODE>
#!/usr/bin/perl -l
@J=(1);push@J,1;push@J,$J[-1]+$J[-2]
for 1..19; sort@J; open(A,$0); $nth=
join('',<A>); $nth=~s/\s+//og;split(
/;/,$nth);$ee=0;foreach(@r=@_){while
(length($_)<= $J[$ee]) {$J[$ee]=int(
sqrt($J[$ee]));} @PP=split//; $char=
$PP[$J[$ee]];push@HH,$" if((65<=ord(
$char))&&(90>=ord($char))&&($ee!=0))
;if(/^\#!/){splice(@PP,1,length()-6)
,$char=$PP[$J[$ee]]};push@HH, $char;
$!=$char+ ++$ee;}$char=chr($!+index(
$_[-4],'!'));@HH[umask()+@HH]=$char;
$nth= close(A);$results = print @HH;
</CODE>