Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
CGI::Parse::PSGI(3)   User Contributed Perl Documentation  CGI::Parse::PSGI(3)

NAME
       CGI::Parse::PSGI	- Parses CGI output and	creates	PSGI response out of
       it

DESCRIPTION
	 use CGI::Parse::PSGI qw(parse_cgi_output);

	 my $output = YourApp->run;
	 my $psgi_res =	parse_cgi_output(\$output);

SYNOPSIS
       CGI::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.

AUTHOR
       Tatsuhiko Miyagawa

SEE ALSO
       CGI::Emulate::PSGI

perl v5.24.1			  2014-09-08		   CGI::Parse::PSGI(3)

NAME | DESCRIPTION | SYNOPSIS | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=CGI::Parse::PSGI&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help