Subject: | Unable to serve file in win32 environnement |
Net::HTTPServer with ActivePerl 5.8.508 on windows XP, install using nmake.
code :
use Net::HTTPServer;
my $server = new Net::HTTPServer(port=>5000, docroot=>"c:\\http\\");
$server->Start();
$server->Process();
when try to get http://localhost:5000/test.htm I get this message and script hangs.
Your vendor has not defined POSIX macro F_GETFL, used at C:/Perl/site/lib/Net/HTTPServer.pm line 1149