--- Guard/Guard.pm 2008/12/13 18:51:19 1.11 +++ Guard/Guard.pm 2008/12/13 18:53:30 1.12 @@ -171,11 +171,14 @@ (with C<$@> set to the actual exception), which is similar to how most event loops handle this case. +The default for C<$Guard::DIED> is to call C. + +The C<$@> variable will be restored to its value before the guard call in +all cases, so guards will not disturb C<$@> in any way. + The code reference stored in C<$Guard::DIED> should not die (behaviour is not guaranteed, but right now, the exception will simply be ignored). -The default for C<$Guard::DIED> is to call C. - =head1 AUTHOR Marc Lehmann