in reply to Checking whether a value is numeric or not

Hi,

Why not try Scalar::Util ?

use Scalar::Util qw(looks_like_number); if (looks_like_number($your_number)) { do something; }