<?xml version="1.0" encoding="windows-1252"?>
<node id="887339" title="Re: Rot13 Challenge" created="2011-02-10 00:01:15" updated="2011-02-10 00:01:15">
<type id="11">
note</type>
<author id="176576">
eyepopslikeamosquito</author>
<data>
<field name="doctext">
&lt;P&gt;
As you might expect, this has been golfed a few times before. For example:
&lt;ul&gt;
 &lt;li&gt; [id://406374] (Perl Monks)
 &lt;li&gt; &lt;a href="http://wikipedia.qwika.com/wiki/Perl#Example_Program"&gt;Qwika Perl wikipedia example program&lt;/a&gt;
 &lt;li&gt; &lt;a href="http://golf.shinh.org/p.rb?rot13"&gt;shinh's golf site rot13 game&lt;/a&gt;
&lt;/ul&gt;
The Qwika Perl wikipedia example program (which matches Anony's response above) is:
&lt;CODE&gt;
perl -pe 'tr/A-Za-z/N-ZA-Mn-za-m/' &lt; input_file &gt; output_file
&lt;/CODE&gt;
while the shortest Perl solution at shinh's golf site is:
&lt;CODE&gt;
#!perl -p
y/N-ZA-z/A-za-m/
&lt;/CODE&gt;
&lt;/P&gt;
</field>
<field name="root_node">
887321</field>
<field name="parent_node">
887321</field>
</data>
</node>
