Skip to content

Commit 1f7b1ee

Browse files
committed
fix whitespace
1 parent 9493948 commit 1f7b1ee

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

doc/Language/exceptions.pod6

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ To handle all exceptions use a C<default> statement.
6363
}
6464
6565
66-
## Exceptions handlers and enclosing blocks.
66+
## Exceptions handlers and enclosing blocks.
6767
6868
After a CATCH has handled the exception, the block enclosing the CATCH is left.
6969
@@ -72,39 +72,38 @@ as enclosing block gets left immediately:
7272
7373
7474
die "something went wrong ...";
75-
75+
7676
CATCH {
7777
# will definitely catch all the exception
7878
default { .Str.say; }
7979
}
80-
80+
8181
# but this line will be never reached
8282
# as once default exception handler
8383
# gets executed
8484
# a enclosing block - mainline of the program
8585
# will be left immediately
8686
8787
say "This won't be said.";
88-
89-
88+
9089
Output:
9190
9291
something went wrong ...
9392
9493
Compare with this one:
9594
9695
CATCH {
97-
96+
9897
CATCH {
9998
default { .Str.say; }
10099
}
101-
100+
102101
die "something went wrong ...";
103-
102+
104103
}
105-
104+
106105
say "Hi! I am at the outer block!";
107-
106+
108107
Output:
109108
110109
Hi! I am at the outer block!

0 commit comments

Comments
 (0)