From: Karen Etheridge Date: Fri, 11 Dec 2015 03:51:02 +0000 (-0800) Subject: fix spelling tests X-Git-Tag: v0.23~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7788aa10798285b6feff86536858e8c947065cb5;p=p5sagit%2FTry-Tiny.git fix spelling tests --- diff --git a/lib/Try/Tiny.pm b/lib/Try/Tiny.pm index 601637a..c96a02a 100644 --- a/lib/Try/Tiny.pm +++ b/lib/Try/Tiny.pm @@ -464,6 +464,8 @@ value. Using Perl 5.10 you can use L. +=for stopwords topicalizer + The C block is invoked in a topicalizer context (like a C block), but note that you can't return a useful value from C using the C blocks without an explicit C. @@ -485,7 +487,7 @@ concisely match errors: =item * C<@_> is not available within the C block, so you need to copy your -arglist. In case you want to work with argument values directly via C<@_> +argument list. In case you want to work with argument values directly via C<@_> aliasing (i.e. allow C<$_[1] = "foo">), you need to pass C<@_> by reference: sub foo { @@ -553,11 +555,13 @@ C introduces another caller stack frame. L is not used. L is used. This lack of magic is considered a feature. +=for stopwords unhygienically + =item * 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 +ensure this, since C may be used unhygienically in destructors. The only guarantee is that the C will be called if an exception is thrown. =item * @@ -605,7 +609,7 @@ confusing behavior: Note that this behavior was changed once again in L. -However, since the entirety of lexical C<$_> is now L is now L, it is unclear whether the new version 18 behavior is final.