Skip Menu | will be shut down on March 1st, 2021.

This queue is for tickets about the FCGI CPAN distribution.

Report information
The Basics
Id: 83109
Status: new
Priority: 0/
Queue: FCGI

Owner: Nobody in particular
Requestors: bitcard [...]

Bug Information
Severity: Normal
Broken in: 0.74
Fixed in: (no value)

Subject: "say" doesn't append a newline
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 507
Download (untitled) / with headers
text/plain 507b
---------------------------------------------- use 5.014; use warnings; use FCGI; my $request = FCGI::Request(); while($request->Accept() >= 0) { print "Content-type: text/plain\n\n"; say "Hello,"; say "World!"; } ---------------------------------------------- The above code, when running as FCGI, outputs "Hello,World!". When running as a CGI script, or simply from the command-line, it outputs "Hello,\nWorld!\n" as it should. In case it matters, this is using mod_fcgid on Apache 2.2.22.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to