X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FDispatcher.pm;h=defe7e336413239c37a48ce3e0d73de46c22ced8;hp=f92b92b97c63729966567ec0fbdd512fd0f6d4ab;hb=b3f7d10bf620f12ef0984aedfebc04bd48b61cd4;hpb=90e5b064cd1cd5f9b410b8071f0addc43b0d84ed diff --git a/lib/Catalyst/Dispatcher.pm b/lib/Catalyst/Dispatcher.pm index f92b92b..defe7e3 100644 --- a/lib/Catalyst/Dispatcher.pm +++ b/lib/Catalyst/Dispatcher.pm @@ -708,9 +708,9 @@ foreach my $public_method_name (qw/ # I haven't provided a way to disable them, patches welcome. $meta->add_before_method_modifier($public_method_name, sub { my $class = blessed(shift); - $package_hash{$class}++ || do { + $package_hash{$class}++ || do { warn("Class $class is calling the deprecated method Catalyst::Dispatcher::$public_method_name,\n" - . "this will be removed in Catalyst 5.9X"); + . "this will be removed in Catalyst 5.9X\n"); }; }); }