From: Tomas Doran Date: Tue, 5 May 2009 15:28:43 +0000 (+0000) Subject: Trivially dink error message. X-Git-Tag: 5.80004~49 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=b3f7d10bf620f12ef0984aedfebc04bd48b61cd4;hp=90e5b064cd1cd5f9b410b8071f0addc43b0d84ed Trivially dink error message. --- 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"); }; }); }