Subject: | Non-functional, tests fail, due to POSIX::WNOHANG |
Hi,
On some systems, including mine (presumably those with some certain
combination of older Perl version and version of POSIX - I am using perl
5.8.8), all tests fail because the module fails a syntax check:
perl -c blib/lib/AnyEvent/ForkManager.pm
Bareword "POSIX::WNOHANG" not allowed while "strict subs" in use at
blib/lib/AnyEvent/ForkManager.pm line 203.
BEGIN not safe after errors--compilation aborted at
blib/lib/AnyEvent/ForkManager.pm line 218.
This can be fixed by editing line 11 so that it reads:
use POSIX qw(WNOHANG);
This fix should be 'safe', in that it won't affect any of the systems
where tests already pass.
I would like to use this module as a dependency in one of my own
distributions, but this is currently problematic if it is likely to fail
installation, so I'd really appreciate if you could release an updated
version with the fix.