pythonizer
pythonizer copied to clipboard
Diamond operator has several issues
Diamond operator with glob expression generates bad code. For example:
while(<*.c>) ...
Empty diamond operator <>
is supposed to read all the files from @ARGV
, but instead only reads STDIN
.
Double diamond operator <<>>
is supposed to be a safe version of <>
but doesn't work.
A scalar in a diamond operator <$var>
should read from that file handle.
Fixed in https://github.com/snoopyjc/pythonizer