… | |
… | |
149 | |
149 | |
150 | =back |
150 | =back |
151 | |
151 | |
152 | =head1 EXCEPTIONS |
152 | =head1 EXCEPTIONS |
153 | |
153 | |
154 | Guard blocks should not normally throw exceptions (e.g. C<die>), after |
154 | Guard blocks should not normally throw exceptions (that is, C<die>). After |
155 | all, they are usually used to clean up after such exceptions. However, if |
155 | all, they are usually used to clean up after such exceptions. However, if |
156 | something truly exceptional is happening, a guard block should be allowed |
156 | something truly exceptional is happening, a guard block should be allowed |
157 | to die. Also, programming errors are a large source of exceptions, and the |
157 | to die. Also, programming errors are a large source of exceptions, and the |
158 | programmer certainly wants to know about those. |
158 | programmer certainly wants to know about those. |
159 | |
159 | |