in reply to Multi-key Hash Table Question

use strict; use warnings;
These are your friends. They will tell you that %mhash must have an explicit package name, which tells you that you aren't referencing the same "myhash" thingy that you built above.

Ivan Heffner
Sr. Software Engineer, DAS Lead
WhitePages.com, Inc.