The only thing that is dangerous is executing code you got from the bad outside world without checking it won't do anything it shouldn't do. But that's regardless whether you use eval or some other means to execute it.
You probably want to make use of the Safe module.
Abigail
In reply to Re: securely evaluating an expression
by Abigail-II
in thread securely evaluating an expression
by Len
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |