pythonizer icon indicating copy to clipboard operation
pythonizer copied to clipboard

perl defined generates bad code

Open snoopyjc opened this issue 3 years ago • 1 comments

The defined operator generates bad code which references none instead of None. Also defined of an array element or hash reference instead checks if the array or hash itself is defined.

snoopyjc avatar Nov 10 '21 04:11 snoopyjc

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

snoopyjc avatar Feb 07 '22 16:02 snoopyjc