First off, thanks and ++ to tye for offering and moving this node from QandA to Seekers of Perl Wisdom, and giving me the chance to clarify an incomplete question.   I should know better than to post right before collapsing to bed in exhaustion.

Anyway, I'm delving into (Lists|Hashes)of(Lists|Hashes) to improve this recent script.   With help from Petruchio, I've learned that (L|H)o(L|H)'s are really (L|H)'s of *references* to (L|H)'s.

So... can Tie::IxHash order the elements of a HoL, as well as the elements of hashes that are referenced by a LOH?   I've found Tie::IxHash to be quite useful in the past, but find no mention of using it with references in it's perldoc or in the excellent perlreftut and perldsc.

Keep in mind that I'm not a programmer by profession, and have reached Saint(10) only by the good graces of vroom and y'all.   so example code (or even scribbled pictures with colored lines) are quite welcome.   {grin}
    cheers,
    Don
    striving toward Perl Adept
    (it's pronounced "why-bick"


In reply to Can Tie::IxHash be used to order elements in a list or hash of hashes? by ybiC

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.