Date: | Sat, 14 Nov 2020 18:43:42 +0000 |
CC: | "paul [...] seamons.com" <paul [...] seamons.com> |
Subject: | Trivial bug in Net::Server::PSGI |
To: | "bug-Net-Server [...] rt.cpan.org" <bug-Net-Server [...] rt.cpan.org> |
From: | Marcel de Rooy <M.de.Rooy [...] rijksmuseum.nl> |
Hi,
When using the PSGI feature of returning a file handle in third position of the response, this occurs:
Undefined subroutine &Net::Server::PSGI::blessed called at /usr/share/perl5/Net/Server/PSGI.pm line 134.
This line looks like:
} elsif (blessed($body) && $body->can('getline')) {
Note that the PSGI module loads Net::Server::HTTP but does not import its blessed method from Scalar::Util.
I would prefer to just load ['use'] Scalar::Util and import blessed here.
Thanks for your attention,
Marcel de Rooy
X
X!
T/m 18 jaar gratis
In verband met de coronamaatregelen is het
boeken van een starttijd noodzakelijk.
Kijk hier de nieuwste aflevering van Rijksmuseum Unlocked
x!
xxx
Please think before you print