in reply to How to capture the "isn't numeric" warning?
perldoc -q "How do I determine whether a scalar is a number" [download]