in reply to Re^2: beginner needs help
in thread beginner needs help

You can check whether the input is numeric by looking into perl's regular expressions. Hope this helps..