and yet, I did not double the size of the hash, as proven by tests I have written to count and enumerate the keys as received in Python from Perl. I believe that my code "works" without duplicating the keys because utf8_on is not changing or manipulating the actual string that is the key; all it is doing is manipulating the metadata.$ref->{ utf8_on($key) } = $ref->{$key};
In reply to Re^2: How to convert hash keys to utf8
by mpersico
in thread How to convert hash keys to utf8
by mpersico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |