in reply to RE: CaptureStructure and RestoreStructure
in thread CaptureStructure and RestoreStructure

I don't proclaim to be an expert (I've been coding for ~6 years now), however I have been unable to get FreezeThaw or Storable to properly dump a multi-dimensional hash. They have always mangled the hash. What is worse is they do not report this mangling. Storable was beautiful and fast before I realized it was doing this. I don't want to fool around hacking down the dimension of my arrays to gain persistence. I wanted a simple procedure which would always work. There are a couple of typo in those functions which I forgot to update. I will post the updates shortly. If I'm wrong about Storable & FreezeThaw please tell me but my tests have shown that there isn't anything out there that handles everything in a generic manner.
  • Comment on RE: RE: CaptureStructure and RestoreStructure

Replies are listed 'Best First'.
RE: RE: RE: CaptureStructure and RestoreStructure
by merlyn (Sage) on Aug 11, 2000 at 15:14 UTC
    I've not seen it "mangle the hash" yet. If you have a specific example to show, please do so, and we can walk through it together, either figuring out what got misunderstood, or submitting a bug report.

    -- Randal L. Schwartz, Perl hacker