Subject: | FCGI's tieing of filehandles breaks Capture::Tiny |
A truncated stacktrace of the issue is available here:
https://gist.github.com/443529eb62803ffce537
The docs of Capture::Tiny explain a workaround: https://metacpan.org/
module/Capture::Tiny#Modifying-filehandles-before-capturing (search the
page for "FCGI")
However this workaround is not acceptable, since users unaware of the
issue will just get hit with an error that tells them nothing and whether
or not they find this workaround is up to luck. Is there a way to fix
this in FCGI or to identify it at runtime and throw an instructive error?