in reply to Re^3: hash references
in thread hash refferences

which is what %temp = undef does. No, thats what undef %temp does, big difference