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

Owner: Nobody in particular
Requestors: Matej.Vela [...]

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 [...]
From: Matej Vela <Matej.Vela [...]>
Download (untitled) / with headers
text/plain 455b
Net::Daemon 0.43 doesn't detect ithreads because it checks for 'thread' instead of 'threads': --- lib/Net/ +++ lib/Net/ @@ -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
Download (untitled) / with headers
text/plain 320b
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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to