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

Patterns containing array or hash lookups generate bad code #111

Open snoopyjc opened 2 years ago

snoopyjc commented 2 years ago

Patterns containing array or hash lookups generate bad code. For example:

if ($body=~/$FORM{INPUT}/i) {...}
snoopyjc commented 2 years ago

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