http://qs321.pair.com?node_id=11101374


in reply to How to capture the "isn't numeric" warning?

looks_like_number might solve your question.
  • Comment on Re: How to capture the "isn't numeric" warning?

Replies are listed 'Best First'.
Re^2: How to capture the "isn't numeric" warning?
by BillKSmith (Monsignor) on Jun 15, 2019 at 03:55 UTC
    You can get the same answer directly from the FAQ.
    perldoc -q "How do I determine whether a scalar is a number"
    Bill