From: Karen Etheridge Date: Tue, 19 Dec 2017 03:29:19 +0000 (-0800) Subject: clarify docs re switch statements, given X-Git-Tag: v0.29~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=305d5b2322f3642ec24853676d4eaa8befa81b42;p=p5sagit%2FTry-Tiny.git clarify docs re switch statements, given --- diff --git a/lib/Try/Tiny.pm b/lib/Try/Tiny.pm index 20b0415..7d7a9cd 100644 --- a/lib/Try/Tiny.pm +++ b/lib/Try/Tiny.pm @@ -466,9 +466,11 @@ be sure the C was aborted due to an error: This is because an C that caught a C will always return a false value. -=head1 SHINY SYNTAX +=head1 ALTERNATE SYNTAX -Using Perl 5.10 you can use L. +Using Perl 5.10 you can use L (but please don't, +because that syntax has since been deprecated because there was too much +unexpected magical behaviour). =for stopwords topicalizer @@ -613,8 +615,8 @@ confusing behavior: } } -Note that this behavior was changed once again in L. +Note that this behavior was changed once again in +L. However, since the entirety of lexical C<$_> is now L, it is unclear whether the new version 18 behavior is final.