Trivially dink error message.
Tomas Doran [Tue, 5 May 2009 15:28:43 +0000 (15:28 +0000)]
lib/Catalyst/Dispatcher.pm

index f92b92b..defe7e3 100644 (file)
@@ -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");
             };
         });
     }