Set $Carp::Internal{"Try::Tiny"}
Yuval Kogman [Tue, 3 Nov 2009 13:03:39 +0000 (15:03 +0200)]
lib/Try/Tiny.pm

index 7c0256d..d8d006a 100644 (file)
@@ -16,6 +16,8 @@ $VERSION = eval $VERSION;
 
 @EXPORT = @EXPORT_OK = qw(try catch);
 
+$Carp::Internal{+__PACKAGE__}++;
+
 sub try (&;$) {
        my ( $try, $catch ) = @_;