Python to Perl:itertools產品在每個可能的位置替換字符串中的char [英]Python to perl: itertools product to replace a char in string in each possible position