SCGIFor implementing an SCGI interface for an application server | |
Download |
SCGI Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Thomas Yandell
- Publisher web site:
- http://search.cpan.org/~vipercode/
SCGI Tags
SCGI Description
For implementing an SCGI interface for an application server SCGI is a Perl module is for implementing an SCGI interface for an application server.SYNOPISIS use SCGI; use IO::Socket; my $socket = IO::Socket::INET->new(Listen => 5, ReuseAddr => 1, LocalPort => 8080) or die "cannot bind to port 8080: $!"; my $scgi = SCGI->new($socket, blocking => 1); while (my $request = $scgi->accept) { $request->read_env; read $request->connection, my $body, $request->env->{CONTENT_LENGTH}; # print $request->connection "Content-Type: text/plain\n\nHello!\n"; } Requirements: · Perl
SCGI Related Software