Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

eval() does not catch exceptions

  • Loading branch information...
commit e84b11137cc55ecd9f17f58976c08d361054ea05 1 parent e8bea71
@moritz moritz authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 S29-functions.pod
View
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
+exceptions.
=item evalfile
Please sign in to comment.
Something went wrong with that request. Please try again.