[Catalyst-commits] r7149 - in trunk/Catalyst-Plugin-ConfigLoader: . lib/Catalyst/Plugin

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Wed Nov 21 18:48:38 GMT 2007


Author: bricas
Date: 2007-11-21 18:48:37 +0000 (Wed, 21 Nov 2007)
New Revision: 7149

Modified:
   trunk/Catalyst-Plugin-ConfigLoader/Changes
   trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm
Log:
warn a little louder

Modified: trunk/Catalyst-Plugin-ConfigLoader/Changes
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/Changes	2007-11-21 13:44:21 UTC (rev 7148)
+++ trunk/Catalyst-Plugin-ConfigLoader/Changes	2007-11-21 18:48:37 UTC (rev 7149)
@@ -3,6 +3,10 @@
 0.19  Wed Nov 21 2007
     - fixed suffix appending to explicit config paths
 
+    [NOTE]
+    - Deprecation notices scream a little louder and sleep for 3 seconds
+      as this should be the last release for them
+
 0.18  Sat Oct 13 2007
     - fix indentation on manual entry for DBIC::Schema config (Jeremy Wall)
       RT #29967

Modified: trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm
===================================================================
--- trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm	2007-11-21 13:44:21 UTC (rev 7148)
+++ trunk/Catalyst-Plugin-ConfigLoader/lib/Catalyst/Plugin/ConfigLoader.pm	2007-11-21 18:48:37 UTC (rev 7149)
@@ -160,7 +160,8 @@
     # deprecation notice
     if ( exists $c->config->{ file } ) {
         $c->log->warn(
-            q("file" config parameter has been deprecated in favor of "$c->config->{ 'Plugin::ConfigLoader' }->{ file }")
+            q(*** "file" config parameter has been deprecated in favor of "$c->config->{ 'Plugin::ConfigLoader' }->{ file }")
+            sleep( 3 );
         );
     }
 
@@ -207,7 +208,8 @@
     # deprecation notice
     if ( exists $c->config->{ config_local_suffix } ) {
         $c->log->warn(
-            q("config_local_suffix" config parameter has been deprecated in favor of "$c->config->{ 'Plugin::ConfigLoader' }->{ config_local_suffix }")
+            q("*** config_local_suffix" config parameter has been deprecated in favor of "$c->config->{ 'Plugin::ConfigLoader' }->{ config_local_suffix }")
+            sleep( 3 );
         );
     }
 




More information about the Catalyst-commits mailing list