HTTP::Engine::Interface::CGI - CGI interface for HTTP::Engine


HTTP-Engine documentation Contained in the HTTP-Engine distribution.

Index


Code Index:

NAME

Top

HTTP::Engine::Interface::CGI - CGI interface for HTTP::Engine

AUTHOR

Top

Naoki Okamura (Nyarla) <thotep@nyarla.net>

Tokuhiro Matsuno

LICENSE

Top

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.


HTTP-Engine documentation Contained in the HTTP-Engine distribution.

package HTTP::Engine::Interface::CGI;
use HTTP::Engine::Interface
    builder => 'CGI',
    writer  => { response_line => 0 },
;

sub run {
    my ($self) = @_;
    $self->handle_request(
        _connection => {
            env           => \%ENV,
            input_handle  => \*STDIN,
            output_handle => \*STDOUT,
        },
    );
}

__INTERFACE__

__END__