From: Hans Dieter Pearcey Date: Thu, 21 Jan 2010 20:25:30 +0000 (-0500) Subject: try to clarify a caveat X-Git-Tag: Try-Tiny-0.03~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=57c50f41df82a5993fbbbbb8551dcaecdcbce28e;p=p5sagit%2FTry-Tiny.git try to clarify a caveat --- diff --git a/lib/Try/Tiny.pm b/lib/Try/Tiny.pm index 953d4b2..dd330c9 100644 --- a/lib/Try/Tiny.pm +++ b/lib/Try/Tiny.pm @@ -329,9 +329,10 @@ a feature. =item * -The value of C<$_> in the C block is not guaranteed to be preserved, -there is no safe way to ensure this if C is used unhygenically in -destructors. It's only guaranteed that the C will be called. +The value of C<$_> in the C block is not guaranteed to be the value of +the exception thrown (C<$@>) in the C block. There is no safe way to +ensure this, since C may be used unhygenically in destructors. The only +guarantee is that the C will be called if an exception is thrown. =item *