This just sounds like a bad idea. There are examples of arithmetic parsers out there, and I'd recommend this since you don't want to try to evaluate an invalid expression (unmatched parens, for example).
This just sounds like a bad idea. There are examples of arithmetic parsers out there, and I'd recommend this since you don't want to try to evaluate an invalid expression (unmatched parens, for example).
Hmm, its bad idea to do homework? I'm not sure what you're saying perlfan