I'm fairly new to Perl and I'm currently trying to understand the two forms of eval.
Everything that I read about them says that string eval is dangerous and block eval is "safe" - But from what I understand, both are capable of executing code that results from potentially dangerous user input
What makes the block form "safe" of eval compared to the string form?
In reply to The safety of string eval and block eval. by TrixieTang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |