pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

Multiple undef's in a list unpack only generate one in the python code

Open snoopyjc opened this issue 3 years ago • 1 comments

Multiple undef's in a list unpack only generate one in the python code. For example:

(undef, undef, $i) = @arr;

Will generate:

[Null, i] = arr

snoopyjc avatar Nov 22 '21 14:11 snoopyjc

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

snoopyjc avatar Feb 07 '22 16:02 snoopyjc