vbrtrmn has asked for the wisdom of the Perl Monks concerning the following question:
Many of my records start with: The Mortgage or The Bankopen(INF,$filename); @indata = <INF>; close(INF); @sorted = sort { lc($a) cmp lc($b) } @indata;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File Sorting Question
by wog (Curate) on Jun 19, 2001 at 01:43 UTC | |
|
Re: File Sorting Question
by runrig (Abbot) on Jun 19, 2001 at 01:47 UTC | |
|
Re: File Sorting Question
by jeroenes (Priest) on Jun 19, 2001 at 02:00 UTC | |
|
Re: File Sorting Question
by John M. Dlugosz (Monsignor) on Jun 19, 2001 at 01:32 UTC | |
|
Re: File Sorting Question
by dimmesdale (Friar) on Jun 19, 2001 at 01:42 UTC | |
by runrig (Abbot) on Jun 19, 2001 at 01:48 UTC | |
by tye (Sage) on Jun 19, 2001 at 10:46 UTC | |
by chipmunk (Parson) on Jun 19, 2001 at 02:11 UTC |