If eval is as big of a No-No as "system 'rm -rf /' ", I think I better seek an alternative. I'll do the suggested and put a strict limit on the input via a regex.
Es gibt mehr im Leben als Bücher, weißt du. Aber nicht viel mehr. - (Die Smiths)"
Comment on Re^2: Chomp a numerical expression, return the answer.