<?xml version="1.0" encoding="windows-1252"?>
<node id="58776" title="tac|rev|perl" created="2001-02-16 01:50:53" updated="2005-08-15 08:45:23">
<type id="1588">
obfuscated</type>
<author id="21732">
BooK</author>
<data>
<field name="doctext">
&lt;P&gt;[Kickstart] said something about &lt;tt&gt;s$x$y$g&lt;/tt&gt; in the CB,
and palindromes quickly became the topic (I guess my talking
about &lt;tt&gt;y$x$y$&lt;/tt&gt; didn't help).&lt;/P&gt;
&lt;P&gt;Anyway, here is my first try at a piece of code you can run
through &lt;tt&gt;perl&lt;/tt&gt; or &lt;tt&gt;tac|rev|perl&lt;/tt&gt;... It's not
symmetrical, and it does different (and rather poor) stuff each
time. Call it proof of concept... and enjoy.&lt;/P&gt;
&lt;code&gt;;;sub a;q;;;$_=a
$;=$y=x;$x=y;;;;
y$x,$y$;qq tnirp
;,mit;print,q;}{
_ bus;;sub a{$_[
0].$/}s q;/q\/q;
&lt;/code&gt;
&lt;P&gt;&lt;b&gt;P.S.:&lt;/b&gt; This seems to have [B::Deparse] enter an
[id://58799|infinite loop] if you try to
deparse the script.&lt;/P&gt;</field>
</data>
</node>
