eval BLOCK is used to catch exception. It's called try in other languages. It's perfectly safe.
eval EXPR is used to compile and execute code. While it does catch exceptions, that's not it's main purpose. It should be avoided as much as possible, and its use should raise big warning flags.
In reply to Re: eval expr & eval BLOCK
by ikegami
in thread eval expr & eval BLOCK
by perladdict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |