Browse files

eval() does not catch exceptions

  • Loading branch information...
moritz committed Jun 30, 2011
1 parent e8bea71 commit e84b11137cc55ecd9f17f58976c08d361054ea05
Showing with 4 additions and 1 deletion.
  1. +4 −1 S29-functions.pod
@@ -226,7 +226,10 @@ for C<$lang> would usually do to input files.
The default for C<$lang> is the language in effect at the exact
location of the eval call.
-Returns whatever C<$code> returns, or fails.
+Returns whatever C<$code> returns, or fails when the compilation fails.
+Note that unlike in Perl 5, C<eval> does not catch any exceptions or control
=item evalfile

0 comments on commit e84b111

Please sign in to comment.