point out where in the docs a user is most likely to spend reading time
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Exception.pm
index 1f56cb5..07f587d 100644 (file)
@@ -3,6 +3,11 @@ package DBIx::Class::Exception;
 use strict;
 use warnings;
 
+# load Carp early to prevent tickling of the ::Internal stash being
+# interpreted as "Carp is already loaded" by some braindead loader
+use Carp ();
+$Carp::Internal{ (__PACKAGE__) }++;
+
 use DBIx::Class::Carp ();
 
 use overload