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

Bad code generated for pattern match with complex LHS #101

Open snoopyjc opened 2 years ago

snoopyjc commented 2 years ago

Bad code generated for pattern match with complex LHS. For example:

while (not (($line = shift @lines) =~ /^!/))
snoopyjc commented 2 years ago

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