From: Mark Stosberg Date: Tue, 9 Jul 2013 21:02:48 +0000 (-0400) Subject: Add missing semicolon in docs X-Git-Tag: Try-Tiny-0.16~3^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=86b8a58a3089e5ec6e6f5451ad5d2da9cd295b52;p=p5sagit%2FTry-Tiny.git Add missing semicolon in docs This looked wrong without a semicolon, so I tested it. Sure enough, it was a syntax error without it, and ran as expected with it. --- diff --git a/lib/Try/Tiny.pm b/lib/Try/Tiny.pm index 0da8660..134ad81 100644 --- a/lib/Try/Tiny.pm +++ b/lib/Try/Tiny.pm @@ -493,7 +493,7 @@ Instead, you should capture the return value: my $success = try { die; 1; - } + }; return unless $success; say "This text WILL NEVER appear!";