Server.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Server/Single.pm ↑ Summary Server/Base.pm »
1 package Catalyst::Engine::Server;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use base 'Catalyst::Engine::Server::PreFork';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 our $VERSION = '0.03';
7  
8 =head1 NAME
9  
10 Catalyst::Engine::Server - Catalyst Server Engine *DEPRECATED*
11  
12 =head1 SYNOPSIS
13  
14 A script using the Catalyst::Engine::Server module might look like:
15  
16 #!/usr/bin/perl -w
17  
18 BEGIN { $ENV{CATALYST_ENGINE} = 'Server' }
19  
20 use strict;
21 use lib '/path/to/MyApp/lib';
22 use MyApp;
23  
24 MyApp->run;
25  
26 =head1 DESCRIPTION
27  
28 =head2 DEPRECATED
29  
30 This module is no longer recommended, and does not work correctly with latest
31 versions of Catalyst. Please use L<Catalyst::Engine::HTTP>, which is included
32 in the main Catalyst distribution.
33  
34 =head1 TODO
35  
36 Make HTTP/1.1 optional.
37  
38 =head1 SEE ALSO
39  
40 L<Catalyst>, L<Catalyst::Engine>, L<Catalyst::Engine::Server::PreFork>.
41  
42 =head1 AUTHOR
43  
44 Christian Hansen, C<ch@ngmedia.com>
45  
46 =head1 COPYRIGHT
47  
48 This program is free software, you can redistribute it and/or modify it under
49 the same terms as Perl itself.
50  
51 =cut
52  
53 1;
« Server/Single.pm ↑ Summary Server/Base.pm »