Perl string array sorting FAQ: How can I sort a Perl string array in a case-insensitive manner?
I mentioned in my first Perl array sorting tutorial that the default Perl sorting algorithm sorts characters by their ASCII values. Because of that, my simple Perl array sorting example using the following strings worked just fine:
# a simple perl string array @pizzas = qw(pepperoni cheese veggie sausage);
However, if I add a few uppercase strings to that string array, like this: