[Catalyst-commits] r13368 - in Catalyst-View-TT/trunk: . t/lib/TestApp/View/TT

bricas at dev.catalyst.perl.org bricas at dev.catalyst.perl.org
Thu Jun 24 14:09:43 GMT 2010


Author: bricas
Date: 2010-06-24 15:09:43 +0100 (Thu, 24 Jun 2010)
New Revision: 13368

Modified:
   Catalyst-View-TT/trunk/Changes
   Catalyst-View-TT/trunk/t/lib/TestApp/View/TT/Encoding.pm
Log:
Silence warnings about Template::Provider::Encoding (RT #56310)

Modified: Catalyst-View-TT/trunk/Changes
===================================================================
--- Catalyst-View-TT/trunk/Changes	2010-06-24 12:53:13 UTC (rev 13367)
+++ Catalyst-View-TT/trunk/Changes	2010-06-24 14:09:43 UTC (rev 13368)
@@ -3,6 +3,7 @@
         - add template name to exceptions
         - update render_die message to be more concise.
         - Doc fixes (RT#57159)
+        - Silence warnings about Template::Provider::Encoding (RT #56310)
 
 0.34   2010-04-07 04:14:50
         - Fix the process method to have the previous behaviour of reporting

Modified: Catalyst-View-TT/trunk/t/lib/TestApp/View/TT/Encoding.pm
===================================================================
--- Catalyst-View-TT/trunk/t/lib/TestApp/View/TT/Encoding.pm	2010-06-24 12:53:13 UTC (rev 13367)
+++ Catalyst-View-TT/trunk/t/lib/TestApp/View/TT/Encoding.pm	2010-06-24 14:09:43 UTC (rev 13368)
@@ -15,6 +15,6 @@
             copy_config => [qw(INCLUDE_PATH DEFAULT_ENCODING PRE_CHOMP POST_CHOMP)]
         }
     ],
-);
+) if eval { require Template::Provider::Encoding; };
 
 1;




More information about the Catalyst-commits mailing list