From: Mark Grimes Date: Thu, 28 Mar 2013 14:36:47 +0000 (-0400) Subject: Fixes bug in the DispatchType::Regex depreciation warning X-Git-Tag: 5.90030~7 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=8503ab9bfcaceca9dd416760687b4a3a12929d16 Fixes bug in the DispatchType::Regex depreciation warning Signed-off-by: John Napiorkowski --- diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index dc52594..3b9b3d6 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -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" ); }