In article <[EMAIL PROTECTED]>, Dan Anderson wrote: >> I did assume that the user would input '1', '2', or '3'. But >> you may be right! > > He is right. Although I am new to Perl, I have had some very dumb users > break my PHP scripts by inputting things like "eighteen dollars and 0 > cents" in a form with an explicit $ sign in front.
As Joseph more or less said, error-trapping and verifying input is not the user's job (well, unless she's doing quality control work). Checking whether numerical input is numerical doesn't seem so obscure. -- Kevin Pfeiffer International University Bremen -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
