in reply to Re^3: Hoping for some beady eyes on my first CPAN submission
in thread Hoping for some beady eyes on my first CPAN submission

Hmmm... Seems to be in fact a Windows x POSIX.pm issue. I tried to create a PoC using exactly the same code you had on t/serving.t on Windows to reproduce the problem:
C:\>perl -e "use POSIX qw(:sys_wait_h SIGHUP SIGKILL); my $child_pid; if(!($child_pid = fork())) { exit(0); } kill(SIGKILL, $child_pid);" Your vendor has not defined POSIX macro SIGHUP, used at -e line 1
Although only the "use" does not signal the problem, when you put it on kill(), it hangs. Same thing for SIGKILL...

I'm using Windows XP and POSIX.pm version 1.09, just in case this is POSIX issue.
C:\> perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 50 registered patches, see perl -V for more detail) Binary build 820 [274739] provided by ActiveState

Replies are listed 'Best First'.
Re^5: Hoping for some beady eyes on my first CPAN submission
by aufflick (Deacon) on Jun 24, 2007 at 00:57 UTC
    That's a pain - I only use forking for the test suite.

    Thanks for that awesome feedback - I'll have to have a think about how I do the testing for windows - I guess I can take a look at some of the other daemon modules and see if they test correctly on windows.

    Thanks a bunch!