Hey again,

I want to be able to check if a string contains only a number, no letters,
etc. I have this procedure:

if ($numexs =~ /[0-9]/{
    # do something
}

which doesn't do what I want it to do, I want it to do more or less this:
if ($numexs contains anything other than numbers) {
    # do something
}

All help much appreciated.

Dan



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to