Fixed typo in Engine::HTTP warning message
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Engine / HTTP.pm
index e354a8a..b708a7f 100644 (file)
@@ -5,6 +5,17 @@ use warnings;
 
 use base 'Catalyst::Engine';
 
+warn("You are loading Catalyst::Engine::HTTP explicitly.
+
+This is almost certainly a bad idea, as Catalyst::Engine::HTTP
+has been removed in this version of Catalyst.
+
+Please update your application's scripts with:
+
+  catalyst.pl -force -scripts MyApp
+
+to update your scripts to not do this.\n") unless $ENV{HARNESS_ACTIVE};
+
 1;
 
 # This is here only as some old generated scripts require Catalyst::Engine::HTTP