4 ms·
Please don't consider every usage of the term "eval" to be what is discussed in this article. Perl has two forms of eval, one which takes a string and executes
by saberworks 12y ago
Please don't consider every usage of the term "eval" to be what is discussed in this article. Perl has two forms of eval, one which takes a string and executes it as code (the "bad" one) and one which takes a block of code (used for exception handling) which is parsed only once (essentially at compile time).
http://perldoc.perl.org/functions/eval.html http://perldoc.perl.org/functions/eval.html