Export and test blessed and confess
[gitmo/Mouse.git] / lib / Mouse / Role.pm
index 8eeadc9..678d4e9 100644 (file)
@@ -5,6 +5,7 @@ use warnings;
 
 use Sub::Exporter;
 use Carp 'confess';
+use Scalar::Util;
 
 do {
     my $CALLER;
@@ -36,6 +37,12 @@ do {
         excludes => sub {
             return sub { }
         },
+        blessed => sub {
+            return \&Scalar::Util::blessed;
+        },
+        confess => sub {
+            return \&Carp::confess;
+        },
     );
 
     my $exporter = Sub::Exporter::build_exporter({