From 00a3a9298ed90062d6e15142e9b7a77a5259b4b4 Mon Sep 17 00:00:00 2001
From: Sawyer X <xsawyerx@cpan.org>
Date: Wed, 30 Dec 2015 22:59:15 +0100
Subject: [PATCH] Silence warning for now:

This should be catching the DSL calls that do not use the DSL
object, but it's grabbing also DSL calls, so it's backfiring.

Disabling this for now.
---
 lib/Dancer2/Plugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Dancer2/Plugin.pm b/lib/Dancer2/Plugin.pm
index 3b875b405..02c9e2dee 100644
--- a/lib/Dancer2/Plugin.pm
+++ b/lib/Dancer2/Plugin.pm
@@ -447,7 +447,7 @@ END
                 my \$cb = \$self->app->name->can(\$method)
                     or croak("Can't locate method '\$method'");
 
-                Carp::carp "Using DSL in plugins is deprecated (\$method).";
+                #Carp::carp "Using DSL in plugins is deprecated (\$method).";
 
                 \$cb->(\@args);
             }