in reply to Re^2: print hash of hashes with a reference
in thread print hash of hashes with a reference
It looks like you have spaces after the "cmd" string. So, your keys are not really "cmd", they are "cmd ". I can't really tell how many spaces you have in those keys.