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


in reply to transfer a array to a hash

It is hard to find the bug if don't show a code which generate that output. See How do I post a question effectively?

Where is defined $keys variable ?