[ic] perl sort

Mat Jones - booksellersolutions.com mat@booksellersolutions.com
Tue, 13 Mar 2001 09:06:33 -0800


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