pythonizer
pythonizer copied to clipboard
shift without an argument and not in a sub should shift @ARGV
shift without an argument and not in a sub should shift @ARGV. If shifts perl_arg_array, but that's not initialized.
Fix is to initialize perl_arg_array to be sys.argv[1:].
Fixed in https://github.com/snoopyjc/pythonizer - used a different fix than specified above - shift in main now properly shifts sys.argv[1:]