The implementation underlying FCGI::OpenSocket() doesn't support it.
That call ultimately calls a C function int OS_CreateLocalIpcFd(const char *bindPath, int backlog)
. You can immediately infer that the bindPath
argument is understood as a NUL-terminated, rather than a NUL-prefixed, string.
If you could supply your own socket to FCGI.pm, you might have a chance at making this work.