<br><br><div class="gmail_quote">On Wed, Mar 25, 2009 at 2:51 PM, C. Titus Brown <span dir="ltr">&lt;<a href="mailto:ctb@msu.edu">ctb@msu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
On Wed, Mar 25, 2009 at 11:50:33AM +1300, Noah Gift wrote:<br>
-&gt; Let me digress even further.  Any chance someone is interested in enhancing<br>
<div class="im">-&gt; pythoscope to support a legacy Perl mode?  I won&#39;t be at PyCon, but am<br>
-&gt; interested in the idea of creating functional tests specs in Python for<br>
-&gt; legacy Perl code.<br>
<br>
</div>I will do it...<br>
<br>
...for one meeeeeeeelyun dollars!<br>
<br>
Seriously, it would take that much to get me to work on Perl internals.<br></blockquote><div><br></div><div>I am no Perl expert, but I wonder how using the perlmodule would work:  <a href="http://search.cpan.org/~gaas/pyperl-1.0/perlmodule.pod">http://search.cpan.org/~gaas/pyperl-1.0/perlmodule.pod</a> to basically do the same think Pythoscope is doing now.  Of course, much of the Perl code I am interested in porting is code that is 5,000 lines deep full of  hundreds of lines of if/else statements contingent on a regular expression matching.  Maybe there is no way to actually convert that to python.</div>
<div><br></div><div>I do kind of like the idea of writing failing functional tests with nose automatically, plus the test generator inspecting anything &quot;clean&quot; it can find, like God forbid, a module or a class, and then stubbing those out as well.  It is a really tough problem for some smart guy.  How about this for a sales pitch, &quot;Stop building web frameworks God dammit, help port Perl to Python.&quot;?</div>
<div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
--titus<br>
<font color="#888888">--<br>
</font><div><div></div><div class="h5">C. Titus Brown, <a href="mailto:ctb@msu.edu">ctb@msu.edu</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br><br>Noah<br>