my $req = $c->get_request; my $uri = $req->uri; $ENV{REQUEST_METHOD} = $req->method; $ENV{CONTENT_TYPE} = join('; ', $req->content_type); $ENV{CONTENT_LENGTH} = $req->content_length || ''; $ENV{SCRIPT_NAME} = $uri->path || 1; $ENV{QUERY_STRING} = $uri->query || '';
In reply to Re: Using HTTP::Daemon with CGI
by Errto
in thread Using HTTP::Daemon with CGI
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |