pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

perl eval block should generate a try block

Open snoopyjc opened this issue 3 years ago • 1 comments

perl eval block should generate a try block instead of a syntax error. Catch any exception and set the message in $@ else clear that special variable. Change die to raise an exception instead of calling sys.exit().

snoopyjc avatar Nov 15 '21 02:11 snoopyjc

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

snoopyjc avatar Feb 07 '22 16:02 snoopyjc