Skip to content
This repository
Browse code

eval() does not catch exceptions

  • Loading branch information...
commit e84b11137cc55ecd9f17f58976c08d361054ea05 1 parent e8bea71
Moritz Lenz authored June 30, 2011

Showing 1 changed file with 4 additions and 1 deletion. Show diff stats Hide diff stats

  1. 5  S29-functions.pod
5  S29-functions.pod
Source Rendered
@@ -226,7 +226,10 @@ for C<$lang> would usually do to input files.
226 226
 The default for C<$lang> is the language in effect at the exact
227 227
 location of the eval call.
228 228
 
229  
-Returns whatever C<$code> returns, or fails.
  229
+Returns whatever C<$code> returns, or fails when the compilation fails.
  230
+
  231
+Note that unlike in Perl 5, C<eval> does not catch any exceptions or control
  232
+exceptions.
230 233
 
231 234
 =item evalfile
232 235
 

0 notes on commit e84b111

Please sign in to comment.
Something went wrong with that request. Please try again.