don't load Catalyst::Exception in Utils.pm BEGIN, because some Scripts::* load Utils...
[catagits/Catalyst-Runtime.git] / t / lib / TestAppClassExceptionSimpleTest.pm
index aef61be..cc0ba44 100644 (file)
@@ -10,6 +10,8 @@ package TestAppClassExceptionSimpleTest;
 use strict;
 use warnings;
 
+use Catalyst::Utils; #< some of the scripts use Catalyst::Utils before MyApp.pm
+
 BEGIN { $Catalyst::Exception::CATALYST_EXCEPTION_CLASS = 'TestAppClassExceptionSimpleTest::Exception'; }
 
 use Catalyst;