Remove a stack frame from the SQLA Carp overrides
Peter Rabbitson [Sun, 3 Oct 2010 23:15:35 +0000 (01:15 +0200)]
lib/DBIx/Class/SQLMaker.pm

index f041ce6..ea2b23e 100644 (file)
@@ -54,7 +54,7 @@ BEGIN {
     *{"SQL::Abstract::$f"} = subname "SQL::Abstract::$f" =>
       sub {
         if (Carp::longmess() =~ /DBIx::Class::SQLMaker::[\w]+ .+? called \s at/x) {
-          $clan_import->(@_);
+          goto $clan_import;
         }
         else {
           goto $orig;