[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference 7.286::perl

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

21.0. "SORTing" by ROWLET::AINSLEY (Less than 150kts is TOO slow!) Wed Aug 02 1995 13:08

T.RTitleUserPersonal
Name
DateLines
21.1@sorted = sort @unsortedCECAMO::EIJKThu Aug 03 1995 08:020
21.2case-insensitive sortDONVAN::KEEFETue Feb 18 1997 11:242
Is it possible to specify a case-insensitive sort, equivalent to the
-f option of the shell sort command?
21.3see perlfuncGYRO::eps1.zko.dec.com::nozellMarc Nozell (http://ibgzko.zko.dec.com/nozell)Wed Feb 19 1997 10:395
See the sort documentation in perlfunc man page.  It gives an 
example of a case-insensitive sort.

-marc
21.4uc() functionDONVAN::KEEFEWed Feb 19 1997 15:4610
    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.5and man pages too, what luxury...DONVAN::KEEFEWed Feb 19 1997 17:113
    Installed v5.003 and used the sort with uc() successfully.
    Nice! Thanks.