projects
/
p5sagit/Try-Tiny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
af5d340
)
Merge pull request #8 from markstos/master
Jesse Luehrs [Tue, 9 Jul 2013 21:05:36 +0000 (14:05 -0700)]
fix missing semicolon in docs.
lib/Try/Tiny.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Try/Tiny.pm
b/lib/Try/Tiny.pm
index
0da8660
..
134ad81
100644
(file)
--- 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!";