http://www.perlmonks.org?node_id=576263


in reply to HASH keys preserve class ?

Like other said, hash keys can only be strings. In addition, these strings also lose their tainted information -- that is, if they are later retrieved from the hash, they are considered untainted.