Just another Perl hacker: Difference between revisions

Content deleted Content added
m Link fix
m Reverted 1 edit by 2804:658C:210F:7200:F1D1:56C4:4316:9BE2 (talk) to last revision by Explicit
Tags: Twinkle New redirect Undo Mobile edit Mobile web edit Advanced mobile edit
 
(153 intermediate revisions by more than 100 users not shown)
Line 1:
#REDIRECT [[Perl#Community]]
A [[Perl]] program which prints "Just another Perl hacker"
using extremely [[obfuscated code|obfuscated]] methods, typically ones
based on obscure behaviours of sometimes rarely-used functions,
in the spirit of the [[The International Obfuscated C Code Contest|Obfuscated C Contest]].
 
{{Rcat shell|
The obfuscation can result from the code being total gibberish, e.g.:
{{R to related topic}}
 
}}
<pre>$_="krJhruaesrltre c a cnp,ohet";$_.=$1,print$2while s/(..)(.)//;</pre>
 
or from having "Just another Perl hacker" embedded in opaque code:
 
<pre>$_='987;s/^(d+)/$1-1/e;$1?eval:print"Just another Perl hacker,"';eval</pre>
 
or from looking like it does something simple and completely
unrelated to printing "Just another Perl hacker":
 
<pre>$_ = "wftedskaebjgdpjgidbsmnjgc";
tr/a-z/oh, turtleneck Phrase Jar!/; print;</pre>
 
This phrase was popularized by [[Randal L. Schwartz]], who created most of the first such programs in the signatures of his postings to the [[Usenet newsgroup]] comp.lang.perl (the predecessor to the modern comp.lang.perl.misc).
 
See also: [[Obfuscated Perl contest]]
 
----
This article or earlier version of it contains material from [[FOLDOC]] article '''japh''', with permision.