The XML::Filter::Sort module allows sorting arbitrarily large amount of data which is in XML format. You could use it like this:
However, since XML::Filter::Sort is a SAX filter (rather than an XML filter), it's not actually necessary to use XML data at any stage of the game. Instead you could do it like this:
Although you didn't list maintainability as a key requirement, this type of arrangement would separate your code into logical units which each implement a well defined subset of the whole operation.
In reply to Re: Sorting A File Of Large Records
by grantm
in thread Sorting A File Of Large Records
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |