---

Translator (or more correctly transcriber) from Perl to Python

Version 0.7 now creates of the list of global variables for each subroutine to maintain the same visibility in Python as in Perl and generates global statement with the list of such variables that is inserted in each Python subroutine definition . The full protocol of translation of a reasonably complex script can be seen at

http://www.softpanorama.org/Scripting/Pythonorama/Python_for_perl_programmers/Pythonizer/protocol_of_translation_of_pre_pythonizer.shtml

It can be used as a separate program, which transforms initial Perl script into Python equivalent creating a backup with the extension .original. The result usually does not have syntax errors but, of course, semantic of complex constructs does not match.

Also can be used for understanding existing Perl code by people who know Python and were assigned to maintain some legacy Perl scripts. It explains the script in Python terms.