Porting Perl to Python


I am wondering if there are any tips or tricks to converting perl into python. It would be nice if there was a script like python's 2to3. Or perhaps some compatibility libraries. It doesn't have to be complete, anything to help speed up the process would be helpful.

4/8/2010 3:01:53 AM

Accepted Answer

Keep a phrasebook handy as you go through the code you want to port.

4/8/2010 3:59:01 AM

There are so many ways of doing the same thing in Perl that writing any sort of crosscompiler would be... painful at best. Reconstruct (don't just translate) the program manually.

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow