in reply to Disappearing hash values

Try taking out the single quotes around $key when setting up the hash. When using single quotes around a variable name like '$key' the value returned is not the contents of $key but the characters '$', 'k', 'e', 'y' themselves. You could use double quotes but that is not necessary. Just use
    $conf{$key} = $value;
and it should work.

Replies are listed 'Best First'.
Re^2: Disappearing hash values
by hesco (Deacon) on Jan 21, 2006 at 19:07 UTC
    Thank you sir. I had been stumped by that one for a couple of hours. That moved me right along. your help is appreciated. Thanks. -- Hugh