pythonizer
pythonizer copied to clipboard
Perl variables/arrays/hashes are created out of whole cloth - attempt to handle some of these
Perl variables/arrays/hashes are created out of whole cloth - attempt to handle some of these by checking for a reference to a var/array/hash before it's defined and inserting a definition/initialization. For example:
$options{this} = 1;
creates the %options
hash, then adds one key/value to it.
$i++;
creates the variable i, then adds 1 to it.
The generated python code gives errors because these variables are undefined.
Fixed in https://github.com/snoopyjc/pythonizer