in reply to Re^2: sorting a complex multidimensional hash
in thread sorting a complex multidimensional hash

That's fair. I suppose I've seen the "map-sort-map" construct enough times that I don't even blink at it. Heck, as long as we're on the subject, I may as well mention the only downfall (that I know) of the ST. As with a lot of things perl, you end up trading memory for speed. For every element in your initial list, you create an anonymous array of two elements. For large* lists, this can actually be prohibitive.

thor


For certain values of "large" :)
  • Comment on Re^3: sorting a complex multidimensional hash