http://www.perlmonks.org?node_id=1159098


in reply to Re^5: Bad file descriptor error in Win32 VC2015 compiled perl-5.20.3
in thread Bad file descriptor error in Win32 VC2015 compiled perl-5.20.3

Rob,

Thanks for all your help. The idea was to go with perl-5.20.x as that was the latest version of perl that works with mod_perl v2.0.9.

The problem I was having wasn't just limited to Path::Tiny, but any module I attempted to install via cpan would fail with that Bad File Descriptor error. After much grief I got fed up and compiled it using VC2010. It now works as expected and I can install modules hassle free.

If I had to put money on it - I would say it was down the patches applied to perlio.c et al; in order to get it to compile with VC2015...

Cheers,
Shadowsong