in reply to Re: MLDBM::Easy does not update data structure
in thread MLDBM::Easy does not update data structure
Line 12 is print ${$hash{value1}}[2], "\n";Can't use string ("") as a SCALAR ref while "strict refs" in use at bl +ah.pl line 12.
I've tried a few different things but am not sure how to resolve. Is the problem how I'm trying to print it or is it the assignment? If I comment out the print line, the assignment seems to work (no error message).
What confuses me more, I didn't get this error with tie (%hash, 'MLDBM'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: MLDBM::Easy does not update data structure
by Anonymous Monk on Oct 23, 2012 at 21:42 UTC |