Skip Menu |

This queue is for tickets about the Net-Daemon CPAN distribution.

Report information
The Basics
Id: 32887
Status: resolved
Priority: 0/
Queue: Net-Daemon

People
Owner: Nobody in particular
Requestors: Matej.Vela [...] carnet.hr
Cc:
AdminCc:

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



Subject: ithreads not detected due to a typo
Date: Sat, 02 Feb 2008 19:37:24 +0100
To: bug-Net-Daemon [...] rt.cpan.org
From: Matej Vela <Matej.Vela [...] carnet.hr>
Net::Daemon 0.43 doesn't detect ithreads because it checks for 'thread' instead of 'threads': --- lib/Net/Daemon.pm~ +++ lib/Net/Daemon.pm @@ -254,7 +254,7 @@ if ($self->{'childs'}) { $self->{'mode'} = 'single'; } elsif (!defined($self->{'mode'})) { - if (eval { require thread }) { + if (eval { require threads }) { $self->{'mode'} = 'ithreads'; } elsif (eval { require Thread }) { $self->{'mode'} = 'threads'; Thanks, Matej
Thanks for the patch. Please try Net-Daemon-0.47 I tried Net-Daemon-0.47 on Windows, Fedora Linux from a few months ago, then updated the Fedora and it still passes, so it looks like version 0.47 is a winner. Thank you very much for taking the time to report the bug. I missed your submission of it when you did it.