in reply to Re^2: Can't use string ("") as a HASH ref while "strict refs"
in thread Can't use string ("") as a HASH ref while "strict refs"
$config{'db'}{'$key'} = $val;
should be
$config{'db'}{$key} = $val;
but I don't think that will fix your error. The error seems to indicate that $config{'db'} was assigned '' or undef. Are you sure both %config are the same variable?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Can't use string ("") as a HASH ref while "strict refs"
by hesco (Deacon) on Nov 26, 2005 at 05:08 UTC | |
by ikegami (Patriarch) on Nov 26, 2005 at 05:15 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |