<?xml version="1.0" encoding="windows-1252"?>
<node id="585310" title="Undocumented Operator Japh" created="2006-11-21 12:17:31" updated="2006-11-21 07:17:31">
<type id="1588">
obfuscated</type>
<author id="465654">
liverpole</author>
<data>
<field name="doctext">
When writing Perl code, it's always fun to use some of the undocumented operators.
&lt;p&gt;The good ol' &lt;c&gt;+-&lt;/c&gt; operator always comes in handy.&amp;nbsp;&amp;nbsp;My personal favorite is the ever-reliable &lt;c&gt;'=&lt;/c&gt; operator.&amp;nbsp;&amp;nbsp;And what obfuscation would be complete without a terminal &lt;c&gt;/+&lt;/c&gt; operator?
&lt;/p&gt;&lt;p&gt;Can you find any other undocumented operators below?
&lt;c&gt;
  @ == "GqwpWrlplbnTbnpDwghav"=~  /.../g;
  @ +-  map { +map++ $_,@ =} +$ =  ... 3**7;
  @ '=  split /(?=[A-Q])/, join $* ,@ =;
 die +  qq + @'$ /+
&lt;/c&gt;
&lt;/p&gt;&lt;p&gt;The inspiration for the technique used came indirectly from [node://585235|this node] by [blazar].
&lt;/p&gt;&lt;p&gt;&lt;b&gt;Update&lt;/b&gt;:&amp;nbsp;&amp;nbsp;Fixed wording, as pointed out by [jdporter].
&lt;div class="pmsig"&gt;&lt;div class="pmsig-465654"&gt;
&lt;hr /&gt;
&lt;font size="1"&gt;
s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/
&lt;/font&gt;
&lt;/div&gt;&lt;/div&gt;</field>
</data>
</node>
