projects
/
p5sagit/Try-Tiny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
318cb1e
)
Set $Carp::Internal{"Try::Tiny"}
Yuval Kogman [Tue, 3 Nov 2009 13:03:39 +0000 (15:03 +0200)]
lib/Try/Tiny.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Try/Tiny.pm
b/lib/Try/Tiny.pm
index
7c0256d
..
d8d006a
100644
(file)
--- a/
lib/Try/Tiny.pm
+++ b/
lib/Try/Tiny.pm
@@
-16,6
+16,8
@@
$VERSION = eval $VERSION;
@EXPORT = @EXPORT_OK = qw(try catch);
+$Carp::Internal{+__PACKAGE__}++;
+
sub try (&;$) {
my ( $try, $catch ) = @_;