Thanks for this suggestion. It is indeed simple. In my case, it may not be, because the hash structure changes with updates. Branches depend on data. E.g. I may create 1 to 3 branches for an IP address (classes A, B, C), plus a sub-list of alternate lower class addresses. This is generated by parsing the input data. Its seems feasible to generate the code for saving at the same time as building the hash. Conclusion: more homework to do.
Best - - On Fri, 22 Oct 2004 10:27:34 +0200, Detlef Lindenthal wrote: >I did such a thing simply by writing a lot of lines describing a broad branched hash >into a text file: $myHash{mySubHash1Key1}{mySubHash2Key1}[myColumn1]{key1} = 'This is my first value that I want to store'; $myHash{mySubHash1Key1}{mySubHash2Key1}[myColumn1]{key2} = 'This is my second value that I want to store'; ... and for restoring just call this file from your script. Apparently about 200 of these lines load "in no time".