Lhamo_rin has asked for the wisdom of the Perl Monks concerning the following question:
I have to re-order the "1", "2", "5", and "8" to be "1", "2", "3", and "4". I have to do this for several thousand points. Any ideas how I can do this most efficiently?"1" { "time: 1247"; "sump: 15"; } "2" { "time: 1255"; "sump: 9"; } "8" { "time: 1350"; "sump: 7"; } "5" { "time: 1600"; "sump: 3"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re-ordering data in data file
by tlm (Prior) on Jun 27, 2005 at 18:57 UTC | |
|
Re: Re-ordering data in data file
by sk (Curate) on Jun 27, 2005 at 19:01 UTC | |
by Lhamo_rin (Friar) on Jun 27, 2005 at 21:03 UTC | |
|
Re: Re-ordering data in data file
by ikegami (Patriarch) on Jun 27, 2005 at 19:01 UTC | |
by Animator (Hermit) on Jun 27, 2005 at 21:56 UTC | |
|
Re: Re-ordering data in data file
by TedPride (Priest) on Jun 27, 2005 at 19:53 UTC | |
|
Re: Re-ordering data in data file
by graff (Chancellor) on Jun 28, 2005 at 01:35 UTC |