Query: cgi::parse::psgi
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CGI::Parse::PSGI(3pm) User Contributed Perl Documentation CGI::Parse::PSGI(3pm)NAMECGI::Parse::PSGI - Parses CGI output and creates PSGI response out of itDESCRIPTIONuse CGI::Parse::PSGI qw(parse_cgi_output); my $output = YourApp->run; my $psgi_res = parse_cgi_output($output);SYNOPSISCGI::Parse::PSGI exports one function "parse_cgi_output" that takes a filehandle or a reference to a string to read a CGI script output, and creates a PSGI response (an array reference containing status code, headers and a body) by reading the output. Use CGI::Emulate::PSGI if you have a CGI code not the output, which takes care of automatically parsing the output, using this module, from your callback code.AUTHORTatsuhiko MiyagawaSEE ALSOCGI::Emulate::PSGI perl v5.14.2 2012-03-18 CGI::Parse::PSGI(3pm)