Commit | Line | Data |
df097c84 |
1 | #!/usr/bin/env perl |
89de6a33 |
2 | |
42b626cd |
3 | use FindBin; |
4b3ff1cd |
4 | BEGIN { |
5 | my $env = "$FindBin::Bin/script/env"; |
6 | if (-r $env) { |
7 | do $env or die $@; |
8 | } |
9 | } |
42b626cd |
10 | |
df097c84 |
11 | use Catalyst::ScriptRunner; |
12 | Catalyst::ScriptRunner->run('Gitalist', 'CGI'); |
89de6a33 |
13 | |
14 | 1; |
15 | |
16 | =head1 NAME |
17 | |
18 | gitalist_cgi.pl - Catalyst CGI |
19 | |
20 | =head1 SYNOPSIS |
21 | |
22 | See L<Catalyst::Manual> |
23 | |
24 | =head1 DESCRIPTION |
25 | |
26 | Run a Catalyst application as a cgi script. |
27 | |
28 | =head1 AUTHORS |
29 | |
30 | Catalyst Contributors, see Catalyst.pm |
31 | |
32 | =head1 COPYRIGHT |
33 | |
89de6a33 |
34 | This library is free software. You can redistribute it and/or modify |
35 | it under the same terms as Perl itself. |
36 | |
37 | =cut |
df097c84 |
38 | |