Commit | Line | Data |
a0bb847e |
1 | package Catalyst::Engine::Server; |
2 | |
3 | use strict; |
6f4e1683 |
4 | use base 'Catalyst::Engine::LWP::Daemon'; |
a0bb847e |
5 | |
6 | =head1 NAME |
7 | |
8 | Catalyst::Engine::Server - Catalyst Server Engine |
9 | |
10 | =head1 SYNOPSIS |
11 | |
c9afa5fc |
12 | A script using the Catalyst::Engine::Server module might look like: |
13 | |
14 | #!/usr/bin/perl -w |
15 | |
16 | BEGIN { |
17 | $ENV{CATALYST_ENGINE} = 'Server'; |
18 | } |
19 | |
20 | use strict; |
21 | use lib '/path/to/MyApp/lib'; |
22 | use MyApp; |
23 | |
24 | MyApp->run; |
a0bb847e |
25 | |
26 | =head1 DESCRIPTION |
27 | |
28 | This is the Catalyst engine specialized for development and testing. |
29 | |
a0bb847e |
30 | =head1 SEE ALSO |
31 | |
6f4e1683 |
32 | L<Catalyst>, L<Catalyst::Engine::LWP::Daemon>. |
a0bb847e |
33 | |
34 | =head1 AUTHOR |
35 | |
36 | Sebastian Riedel, C<sri@cpan.org> |
37 | Christian Hansen, C<ch@ngmedia.com> |
38 | |
39 | =head1 COPYRIGHT |
40 | |
41 | This program is free software, you can redistribute it and/or modify it under |
42 | the same terms as Perl itself. |
43 | |
44 | =cut |
45 | |
a0bb847e |
46 | 1; |