in reply to Determine if character is numeric or text

Data in perl is determined more by how you use it than what it contains. The term 'numeric' is kind of overloaded. The perlfaq4 page answers the question "How do I determine whether a scalar is a number/whole/integer/float?"

The character "a" can be used numerically, i.e. if ("a" == 0). What you probably want, though is the regex already mentioned.