Just another Perl hacker: Difference between revisions

Content deleted Content added
Ziz (talk | contribs)
m Canonical comma! Plus a nice external link.
m mv lang links to bottom of page, translate preformatted blocks to wiki syntax, fix heading caps
Line 1:
[[pl:Just another Perl hacker]]
 
A [[Perl]] program which prints "Just another Perl hacker," (the comma being [[canonical]] but occasionally omitted)
using extremely [[obfuscated code|obfuscated]] methods, typically ones
Line 8 ⟶ 6:
The obfuscation can result from the code being total gibberish, e.g.:
 
<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).
Line 25 ⟶ 23:
* [[Obfuscated Perl contest]]
 
== External Linkslinks ==
* [http://www-106.ibm.com/developerworks/linux/library/l-japh Cultured Perl: The Elegance of JAPH]
 
----
This article or earlier version of it contains material from [[FOLDOC]] article '''japh''', with permission.
 
[[pl:Just another Perl hacker]]