in reply to Advice - storing data - which structure do you recommend? (details inside)

If you want to stay within Perl to do this, you could use the Perl sort function. It allows you to write what is basically an anonymous sub to let you sort anyway you want. Of couse, this puts a constraint on your data structure to an array but if all the attributes are always in the same order then it does not make much difference.

  • Comment on Re: Advice - storing data - which structure do you recommend? (details inside)