Title: | Perl |
Notice: | PERL, the Pathologically Eclectic Rubbish Lister |
Moderator: | PLUGH::needle |
Created: | Thu Jun 02 1994 |
Last Modified: | Thu May 15 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 56 |
Total number of notes: | 132 |
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
21.1 | @sorted = sort @unsorted | CECAMO::EIJK | Thu Aug 03 1995 08:02 | 0 | |
21.2 | case-insensitive sort | DONVAN::KEEFE | Tue Feb 18 1997 11:24 | 2 | |
Is it possible to specify a case-insensitive sort, equivalent to the -f option of the shell sort command? | |||||
21.3 | see perlfunc | GYRO::eps1.zko.dec.com::nozell | Marc Nozell (http://ibgzko.zko.dec.com/nozell) | Wed Feb 19 1997 10:39 | 5 |
See the sort documentation in perlfunc man page. It gives an example of a case-insensitive sort. -marc | |||||
21.4 | uc() function | DONVAN::KEEFE | Wed Feb 19 1997 15:46 | 10 | |
Right, I see it thanks. Unfortunately the system the program is running on has only Perl v4, and no man pages. The case insensitive sort relies on uc(), which is among six new functions introduced in v5, so I'll see that the version gets upgraded. Neil | |||||
21.5 | and man pages too, what luxury... | DONVAN::KEEFE | Wed Feb 19 1997 17:11 | 3 | |
Installed v5.003 and used the sort with uc() successfully. Nice! Thanks. |