in reply to Is a vble a number?

Really depends on how you define a number. If you want perls definition then use Scalar::Util's looks_like_number() otherwise use one of the regex solutions mentioned already.


---
demerphq

    First they ignore you, then they laugh at you, then they fight you, then you win.
    -- Gandhi