script/mojomojo_fastcgi.pl untested

filter: Statementstmt 0.0% 0 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 5 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 #!/usr/bin/env perl
2  
3 use Catalyst::ScriptRunner;
4 Catalyst::ScriptRunner->run('MojoMojo', 'FastCGI');
5  
6 1;
7  
8 =head1 NAME
9  
10 mojomojo_fastcgi.pl - Catalyst FastCGI
11  
12 =head1 SYNOPSIS
13  
14 mojomojo_fastcgi.pl [options]
15  
16 Options:
17 -? -help display this help and exits
18 -l --listen Socket path to listen on
19 (defaults to standard input)
20 can be HOST:PORT, :PORT or a
21 filesystem path
22 -n --nproc specify number of processes to keep
23 to serve requests (defaults to 1,
24 requires -listen)
25 -p --pidfile specify filename for pid file
26 (requires -listen)
27 -d --daemon daemonize (requires -listen)
28 -M --manager specify alternate process manager
29 (FCGI::ProcManager sub-class)
30 or empty string to disable
31 -e --keeperr send error messages to STDOUT, not
32 to the webserver
33 --proc_title Set the process title (is possible)
34  
35 =head1 DESCRIPTION
36  
37 Run a Catalyst application as fastcgi.
38  
39 =head1 AUTHORS
40  
41 Catalyst Contributors, see Catalyst.pm
42  
43 =head1 COPYRIGHT
44  
45 This library is free software. You can redistribute it and/or modify
46 it under the same terms as Perl itself.
47  
48 =cut