Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] perl sort



I am using the sort function to sort an array of results from an sql query,
and it returns the results by name but it is case sensitive.
eg - sort {$a->[1] cmp $b->[1]} @array;
it returns
Andy
Dave
Paul
Steve
andy
arthur

Im sure its an easy fix, could someone help me out?
Thanks

Mat



_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: