Posted a similar solution, that may help. DocID:1101591
In reply to Re^2: Saving a hash/array to a file by dcronin135 in thread Saving a hash/array to a file by davehorsfall