NAME
PAGI::App::WrapCGI - Execute CGI scripts as PAGI apps
SYNOPSIS
use PAGI::App::WrapCGI;
my $app = PAGI::App::WrapCGI->new(
script => '/path/to/script.cgi',
)->to_app;
DESCRIPTION
Executes CGI scripts and converts their output to PAGI responses. Sets up the standard CGI environment variables and parses the CGI output (Status header, other headers, and body).
OPTIONS
script- Path to the CGI script to executetimeout- Execution timeout in seconds (default: 30)