HTTP::Request::AsCGI

Set up a CGI environment from an HTTP::Request
Download

HTTP::Request::AsCGI Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Hans Dieter Pearcey
  • Publisher web site:
  • http://search.cpan.org/~hdp/Email-MIME-XPath-0.005/lib/Email/MIME/XPath.pm

HTTP::Request::AsCGI Tags


HTTP::Request::AsCGI Description

Set up a CGI environment from an HTTP::Request HTTP::Request::AsCGI is a Perl module to setup a CGI environment from an HTTP::Request.SYNOPSIS use CGI; use HTTP::Request; use HTTP::Request::AsCGI; my $request = HTTP::Request->new( GET => 'http://www.host.com/' ); my $stdout; { my $c = HTTP::Request::AsCGI->new($request)->setup; my $q = CGI->new; print $q->header, $q->start_html('Hello World'), $q->h1('Hello World'), $q->end_html; $stdout = $c->stdout; # environment and descriptors will automatically be restored # when $c is destructed. } while ( my $line = $stdout->getline ) { print $line; } Requirements: · Perl


HTTP::Request::AsCGI Related Software