Thanks Ken. Unfortunately $testdata is still undefined when I use your code to read in my file. What's strange is that the dumped file seems perfectly valid. If I take a copy of the dumped data from the file and paste it into the code and compare it against the hash generated before it's dumped it works just fine.
In reply to Re^2: Reading in a dumped hash reference works in the perl debugger but not in the code.
by Anonymous Monk
in thread Reading in a dumped hash reference works in the perl debugger but not in the code.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |