X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FEngine%2FHTTP.pm;h=cf43c0d6c53a5c0f5086e7e5674d0864d0497572;hb=d249a614f7a9e17f8aaa7b37f39c6563800c406e;hp=4ec9fb3b85dd78df723db702e330f0531dd4ebb4;hpb=c2e8e6fa308480a083f88f9fd82f835aae150c34;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Engine/HTTP.pm b/lib/Catalyst/Engine/HTTP.pm index 4ec9fb3..cf43c0d 100644 --- a/lib/Catalyst/Engine/HTTP.pm +++ b/lib/Catalyst/Engine/HTTP.pm @@ -1,44 +1,44 @@ -package Catalyst::Engine::HTTP; - +package # Hide from PAUSE + Catalyst::Engine::HTTP; use strict; -use base 'Catalyst::Engine::HTTP::Daemon'; +use warnings; -=head1 NAME +use base 'Catalyst::Engine'; -Catalyst::Engine::HTTP - Catalyst HTTP Engine +warn("You are loading Catalyst::Engine::HTTP explicitly. -=head1 SYNOPSIS +This is almost certainly a bad idea, as Catalyst::Engine::HTTP +has been removed in this version of Catalyst. -A script using the Catalyst::Engine::HTTP module might look like: +Please update your application's scripts with: - #!/usr/bin/perl -w + catalyst.pl -force -scripts MyApp - BEGIN { $ENV{CATALYST_ENGINE} = 'HTTP' } +to update your scripts to not do this.\n") unless $ENV{HARNESS_ACTIVE}; - use strict; - use lib '/path/to/MyApp/lib'; - use MyApp; +1; - MyApp->run; +__END__ -=head1 DESCRIPTION +=head1 NAME -This is the Catalyst engine specialized for development and testing. +Catalyst::Engine::HTTP - removed module -=head1 SEE ALSO +=head1 SYNOPSIS + +See L. + +=head1 DESCRIPTION -L, L, L. +This is here only as some old generated scripts require Catalyst::Engine::HTTP -=head1 AUTHOR +=head1 AUTHORS -Sebastian Riedel, C -Christian Hansen, C +Catalyst Contributors, see Catalyst.pm =head1 COPYRIGHT -This program is free software, you can redistribute it and/or modify it under +This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. =cut - -1;