5 $ENV{CATALYST_ENGINE} ||= 'HTTP';
6 $ENV{CATALYST_SCRIPT_GEN} = 31;
7 require Catalyst::Engine::HTTP;
10 ## because this is a test
11 use lib "$Bin/../../../lib";
12 use Catalyst::ScriptRunner;
13 Catalyst::ScriptRunner->run('Catalyst','Server');
18 testapp_server.pl - Catalyst Testserver
22 testapp_server.pl [options]
25 -d -debug force debug mode
26 -f -fork handle each request in a new process
28 -? -help display this help and exits
29 -host host (defaults to all)
30 -p -port port (defaults to 3000)
31 -k -keepalive enable keep-alive connections
32 -r -restart restart when files get modified
34 -rd -restartdelay delay between file checks
35 (ignored if you have Linux::Inotify2 installed)
36 -rr -restartregex regex match files that trigger
37 a restart when modified
38 (defaults to '\.yml$|\.yaml$|\.conf|\.pm$')
39 -restartdirectory the directory to search for
40 modified files, can be set mulitple times
41 (defaults to '[SCRIPT_DIR]/..')
42 -follow_symlinks follow symlinks in search directories
43 (defaults to false. this is a no-op on Win32)
44 -background run the process in the background
45 -pidfile specify filename for pid file
48 perldoc Catalyst::Manual
49 perldoc Catalyst::Manual::Intro
53 Run a Catalyst Testserver for this application.
57 Catalyst Contributors, see Catalyst.pm
61 This library is free software. You can redistribute it and/or modify
62 it under the same terms as Perl itself.