Hi monks,
If i sort the array text after sort i want the output in the alphabetical order, By ignoring upper case and lower case. please help me.
@array = qw(ABU gubu abu GUBU babu BABU); @array = sort {$a cmp $b} @array; print "@array"; Getting o/p : ABU BABU GUBU abu babu gubu Expected o/p : abu ABU babu BABU gubu GUBU
In reply to How to sort in this upper / lower case? by gube
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |