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