Next | Higher-Order Parsing | 6 |
Suppose we want to read a web user's input
It will be a mathematical function, like
(x^2 + 3*x)* sin(x * 2) + 14
We will emit a web page with a graph of their function
Easy solution:
Use eval to turn user input into compiled Perl code
Next | Copyright © 2007 M. J. Dominus |