ybiC has asked for the wisdom of the Perl Monks concerning the following question:
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"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Can Tie::IxHash be used to order elements in a list or hash of hashes?
by chipmunk (Parson) on May 22, 2001 at 20:32 UTC | |
by tilly (Archbishop) on May 22, 2001 at 22:39 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |