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

Calling a subroutine as &mySub; needs to pass in @_ #117

Open snoopyjc opened 2 years ago

snoopyjc commented 2 years ago

Per the documentation: "Calling a subroutine as &foo with no trailing parentheses ignores the prototype of foo and passes it the current value of the argument list, @_. " Pythonizer doesn't do that.

snoopyjc commented 2 years ago

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