in reply to simple question
You already know how to test if a character is numeric. Why don't you just apply that knowledge before printing out the characters?
Or you could create the array of only non-numeric characters in the first place.
In Section
Seekers of Perl Wisdom