in reply to Swapping Two Hash Values

To find out about the reason you got these strange keys, read perlvar - look at the section about $;. You stumbled over the old multidimensional array emulation feature.

Makeshifts last the longest.