From: Yuval Kogman Date: Mon, 31 Aug 2009 19:24:26 +0000 (+0300) Subject: clarify given/when return value caveat X-Git-Tag: Try-Tiny-0.01~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=27293e407a9fcd93c63c3900bcf28cb57ff9dda3;hp=ae53da51cdb8704e63bfbc6e13ccbb0816a2fa62;p=p5sagit%2FTry-Tiny.git clarify given/when return value caveat --- diff --git a/lib/Try/Tiny.pm b/lib/Try/Tiny.pm index 665a8e9..5932535 100644 --- a/lib/Try/Tiny.pm +++ b/lib/Try/Tiny.pm @@ -250,7 +250,7 @@ Using Perl 5.10 you can enable the C/C construct. The C block is invoked in a topicalizer context (like a C block). Note that you can't return a useful value from C using the C -blocks. +blocks without an explicit C. This is somewhat similar to Perl 6's C blocks. You can use it to concisely match errors: