[Catalyst-commits] r10011 - Catalyst-Runtime/5.80/trunk/lib/Catalyst

t0m at dev.catalyst.perl.org t0m at dev.catalyst.perl.org
Tue May 5 15:28:44 GMT 2009


Author: t0m
Date: 2009-05-05 15:28:43 +0000 (Tue, 05 May 2009)
New Revision: 10011

Modified:
   Catalyst-Runtime/5.80/trunk/lib/Catalyst/Dispatcher.pm
Log:
Trivially dink error message.

Modified: Catalyst-Runtime/5.80/trunk/lib/Catalyst/Dispatcher.pm
===================================================================
--- Catalyst-Runtime/5.80/trunk/lib/Catalyst/Dispatcher.pm	2009-05-05 13:55:03 UTC (rev 10010)
+++ Catalyst-Runtime/5.80/trunk/lib/Catalyst/Dispatcher.pm	2009-05-05 15:28:43 UTC (rev 10011)
@@ -708,9 +708,9 @@
                           # 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");
             };
         });
     }




More information about the Catalyst-commits mailing list