develooper Front page | perl.perl6.language | Postings from July 2006

[patch] S04: CATCH blocks

Gaal Yahas
July 25, 2006 07:52
[patch] S04: CATCH blocks
Message ID:
(This paragraph may need some more treatment but I won't attempt
it until I grasp the content better.)

* agentzh++ noticed confusing language regarding two kinds of scope
  in S04.

--- design/syn/S04.pod  (revision 10465)
+++ design/syn/S04.pod  (working copy)
@@ -456,7 +456,7 @@
 of the C<CATCH> block.  Handled exceptions break out past this implicit

-A C<CATCH> block sees the lexical scope in which it defined, but the
+A C<CATCH> block sees the lexical scope in which it is defined, but the
 dynamic scope in which it is called, that is, as if it were called
 from the dynamic location that threw the exception.  That is, the
 stack is not unwound until some exception handler chooses to

Gaal Yahas <> Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About