> Now, I need to compute the right and wrong aswers for questions > parametrically from x, and I often need sqrt, sin, log, etc.
It would be a much better idea to do this in you perl code rather than trying to shove it into a template. The template language is for page layout, not computation. - Perrin
