Basically I have to prompt the user for a case insensitive selection of either (a, A, b, B) string value, if they choose a/A, display all 255 ASCII characters in an array in ascending order, b/B, descending order.

If neither a/A/b/B are chosen report an invalid selection and loop until successful. I am brand new to Perl and would love some help getting this script off the ground.