Fix CGI script
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Script / CGI.pm
1 package Catalyst::Script::CGI;
2 use Moose;
3 BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
4 use namespace::autoclean;
5
6 with 'Catalyst::ScriptRole';
7
8 sub run {
9     my ($self) = @_;
10     $self->_run_application;
11 }
12
13 __PACKAGE__->meta->make_immutable;
14
15 =head1 NAME
16
17 Catalyst::Script::CGI - The CGI Catalyst Script
18
19 =head1 SYNOPSIS
20
21 See L<Catalyst>.
22
23 =head1 DESCRIPTION
24
25 FIXME
26
27 =head1 AUTHORS
28
29 Catalyst Contributors, see Catalyst.pm
30
31 =head1 COPYRIGHT
32
33 This library is free software. You can redistribute it and/or modify it under
34 the same terms as Perl itself.
35
36 =cut