Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the AnyEvent-ForkManager CPAN distribution.

Report information
The Basics
Id: 78669
Status: resolved
Priority: 0/
Queue: AnyEvent-ForkManager

People
Owner: karupa [...] cpan.org
Requestors: bix [...] sendu.me.uk
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.01
Fixed in: (no value)



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.
Hi, Thank you bug report. And I'm sorry they can send a reply. This bug was fixed in version 0.02. Thank you to attach the sample code. I want to send a bug report again if it is still a problem.