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

[patch] S04: CATCH blocks

From:
Gaal Yahas
Date:
July 25, 2006 07:52
Subject:
[patch] S04: CATCH blocks
Message ID:
20060725145053.GB27581@sike.forum2.org
(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
 rethrow.)

-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 <gaal@forum2.org>
http://gaal.livejournal.com/



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About