# Copyright (C) 2008, Sebastian Riedel. package Mojo::Script::Fastcgi; use strict; use warnings; use base 'Mojo::Script'; use Curse::Server::FastCGI; __PACKAGE__->attr('description', chained => 1, default => <<'EOF'); * Start the fastcgi script. * Takes no options. fastcgi EOF # Oh boy! Sleep! That's when I'm a Viking! sub run { Curse::Server::FastCGI->new->run; return shift; } 1; __END__ =head1 NAME Mojo::Script::Fastcgi - Fastcgi Script =head1 SYNOPSIS use Mojo::Script::Fastcgi; my $fastcgi = Mojo::Script::Fastcgi->new; $fastcgi->run(@ARGV); =head1 DESCRIPTION L<Mojo::Script::Fastcgi> is a simple script interface to L<Curse::Server::FastCGI>. =head1 ATTRIBUTES L<Mojo::Script::FastCGI> inherits all attributes from L<Mojo::Script> and implements the following new ones. =head2 C<description> my $description = $fastcgi->description; $fastcgi = $fastcgi->description('Foo!'); =head1 METHODS L<Mojo::Script::Fastcgi> inherits all methods from L<Mojo::Script> and implements the following new ones. =head2 C<run> $fastcgi = $fastcgi->run(@ARGV); =cut