in reply to FlatFile Sort Help
If your file is small enough to read into memory, you could sort your input as you read it in:
foreach (sort <LOOPFILE>) {...}Also, be aware that the last element in @lineitems will still contain a newline character.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: FlatFile Sort Help
by Anonymous Monk on Nov 05, 2008 at 19:13 UTC | |
by ikegami (Patriarch) on Nov 05, 2008 at 19:20 UTC | |
by jethro (Monsignor) on Nov 05, 2008 at 19:20 UTC |