in reply to sorting on multiple columns using Data::Table?

When you say two-dimensional array, do you actually mean a Hash of Hashes? That is, are you sorting on values ( $value[1][0] = 'John 3') or keys ( $value{John}{3} )?

Revised: (as the code was just posted)

You should consider using a Hash instead, if you know that each Name will never have more than one entry with the same Number value. Much easier to sort...

  • Comment on Re: sorting on multiple columns using Data::Table?

Replies are listed 'Best First'.
Re^2: sorting on multiple columns using Data::Table?
by cypress (Beadle) on Feb 25, 2008 at 19:34 UTC
    Two dim array, although perhaps I could consider using a hash of hashes.