Skip to content
Browse files

eval() does not catch exceptions

  • Loading branch information...
1 parent e8bea71 commit e84b11137cc55ecd9f17f58976c08d361054ea05 @moritz moritz committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 S29-functions.pod
5 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.
Something went wrong with that request. Please try again.