If Storable worked with multi-dimensional hashes this code would be of little value. Storable doesn't allow it, or at least it didn't want to do it for me and no one on here responded with a suggestion on how to get it to work. See "Storable.pm: Storing Multi-dimensional Hashes How?" Even Datadumper had a bug in it which made the storing of multidimensional hashes a problem; $Datadumper::quotekeys=1 is ignored after the first dimension of the hash. Fortunately, DumperX works properly but obviously this is only available on platforms with XS extensions to Datadumper. Hopefully, the author of Datadumper will find the glitch in short order.

In reply to RE: RE: CaptureStructure and RestoreStructure by rhardy
in thread CaptureStructure and RestoreStructure by rhardy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.