Fixes bug in the DispatchType::Regex depreciation warning
Mark Grimes [Thu, 28 Mar 2013 14:36:47 +0000 (10:36 -0400)]
lib/Catalyst/Dispatcher.pm

index dc52594..3b9b3d6 100644 (file)
@@ -707,7 +707,7 @@ sub _check_depreciated_dispatch_type {
         warn(   "The $key DispatchType has been removed from Catalyst core.\n"
               . "  An old version of the core Catalyst::DispatchType::Regex\n"
               . "  has been loaded and will likely fail. Please remove\n"
-              . "  $INC{'Catalyst::DispatchType::Regex'}\n"
+              . "   $INC{'Catalyst/DispatchType/Regex.pm'}\n"
               . "  and use Chained methods or install the standalone\n"
               . "  Catalyst::DispatchType::Regex if necessary.\n" );
     }