softpano / pythonizer

Translator (or more correctly transcriber) from Perl to Python
http://www.softpanorama.org/Scripting/Pythonorama/Python_for_perl_programmers/Pythonizer/index.shtml
Other
39 stars 17 forks source link

=cut line is not recognized #79

Open snoopyjc opened 2 years ago

snoopyjc commented 2 years ago

If the perl source contains a POD, the =cut line is never recognized so the scanner falls off the end of the file. In addition, the generated code once this is fixed starts and ends the string literal with '''' instead of ''' generating bad python code.

snoopyjc commented 2 years ago

Fixed in https://github.com/snoopyjc/pythonizer