Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

An Obfuscated ("The Perl Journal") Script

by Marburg (Novice)
on Apr 27, 2000 at 01:54 UTC ( #9337=sourcecode: print w/replies, xml ) Need Help??
Category: Obfuscated Code
Author/Contact Info Marburg (john.keating@may.ie)
Description: Here is my entry to the last Perl Journal Obfuscation contest ... the "The Perl Journal" section. I hope it makes sense ... not! John.
$b=\q~~,$a='@_=$&,++@_=>$a=~m,.,;@_=$&,',$b="z"=>$a=~y,@_,$a,,$b=~s/./
+$a/ee; 
$_=$~,s~(.).*(.).~\L$1$2a~,$_++,;s,^,\$^^*,,s,$,{},,s,{,{\$0**1?\\\$^:
+\$^^,,
s,(\d),$1--,,;s~{~{s,(\\(),\$1.(\$0+\$0+\$_&0%).((\$0!*5)\?'|':''),e;~
+,$!++,
$a=('@'x4).('~'x7),$$b.="@@"."~"x6;$|++,$a.="~"x(($|+$|)*($|+$|)*($|+$
+|)*($|
+$|))=>;$a.=qq.\n.=>$a.=q.~$~~$~.=>$$b.=q.@~~~$.,$$b.=q.@@+.=>$a.=q.@~
+.x2=>;
y,*^&%,=_[],,$|++;s,,$0=$|+$|+$|+$|;$0++;$_,ee,s,(.*),(),,;($~=qq.\${\
+$__(..
(++$|).qq.)($|+$|)($|+$|+$|)(..(($|+$|)+($|+$|)).qq.)($|)}.)=~s/\(/\->
+\(/g,;
s/.*/$~;/ee=>$0=$_,$a.=((q,$~~~~,x2).(q,@~~~@~$,)),$a.="\n";$$b.=q._~~
+$+_-.,
$a.=q,~~$,.q.~.x3;$$b.=q#_-$~_~~_@#;$a.=q%$_+_$$~$+_$_~%;$a=~y,~$@+_, 
+/_)(,;
($~='@_=(--@|+@|),@_=@_+$_+@_+($|-@|)')=~y/\@_-/\$_+/;s//$~/ee,$!=$_/(
+$|+$|)
;$~=$!,$~=~s/^(\w*).*/$1/,$~=~s/^(...)(..)(.*)/$3$2\l$1/,$_=$~,,$~='';
+s,(.),
@_[0=>1]=(++$_[0]=>$&)=>$~.=($_[0]=~m.^$0$.)?$_[1]:'',ge,,=>,,s,^.*$,q
+q*$~*.
q*^$*.q*a\\*.q.n^.,e,$0=$_,$$b=$a,$0=~s,,$_=~y~^~"~;$_,ee
Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: sourcecode [id://9337]
help
Chatterbox?
[marioroy]: LA my @music_times = qx(find \$HOME/Music/ Albums -type f -iname \'*.mp3\' -exec mp3info -p \"%S\\n\" {} \\;);
[marioroy]: Only 2 backslash \\n
[marioroy]: LA no space before Albums
[Lady_Aleena]: Good guh! I think I will use File::Find when working in perl. That is too many toothpicks.
[marioroy]: mp3info must be in the PATH
[marioroy]: LA ++
[Lady_Aleena]: marioroy, this is forcing me to learn perl modules to use instead.
[marioroy]: qx isn't fun if having to backslash ' and " and \.
[marioroy]: LA ++ ok.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2017-04-23 21:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.