Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
eval() does not catch exceptions
  • Loading branch information
moritz committed Jun 30, 2011
1 parent e8bea71 commit e84b111
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion S29-functions.pod
Expand Up @@ -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

Expand Down

0 comments on commit e84b111

Please sign in to comment.