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.
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.