|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: group based array sortby ysth (Canon) |
| on Feb 19, 2004 at 16:03 UTC ( [id://330356]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'm not sure why you say "that doesn't scale very nicely". Doing the moral equivalent of building the HoH is going to be necessary to do anything tree-like with that data structure.
It's fairly trivial, anyway; but you've not said what the difference between id and name is...which is foo,bar,troz,narf in your example, and what is the other?
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||