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

Need to flatten qw inside anonymous arrays #127

Open snoopyjc opened 2 years ago

snoopyjc commented 2 years ago

Need to flatten qw inside anonymous arrays. For example:

our %EXPORT_TAGS = (
    Det    => [qw( det )],
    Normal => [qw( det identityMatrix matrixAdd matrixScalarMultiply matrixMultiplication )],
);

The value at key Det needs to be ['det'], not [['det']].

snoopyjc commented 2 years ago

Fixed in my v0.959 https://github.com/snoopyjc/pythonizer/