Skip Menu |

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

Report information
The Basics
Id: 34117
Status: new
Priority: 0/
Queue: Net-Ping

Owner: Nobody in particular
Requestors: dennis.mccoy [...]

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

Subject: Problem (and maybe a solution) for Net-Ping 2.34
Date: Sat, 15 Mar 2008 15:44:04 -0400
To: <bug-Net-Ping [...]>
From: "Dennis McCoy" <dennis.mccoy [...]>
Download (untitled) / with headers
text/plain 1.7k
I noticed an issue with version 2.34. I am running ActiveState perl under Win/XP SP2. Here is the output of perl -v: M:\>perl -v This is perl, v5.8.8 built for MSWin32-x86-multi-thread (with 18 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 822 [280952] provided by ActiveState Built Jul 31 2007 19:34:48 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at, the Perl Home Page. The following code will show the issue: use Net::Ping; When I invoke perl with that single line of code, ActiveState perl v5.8.8 spits out the following: Prototype mismatch: sub Net::Ping::ECONNREFUSED: none vs () at C:/perl/site/lib/ Net/ line 38. Prototype mismatch: sub Net::Ping::ENOTCONN: none vs () at C:/perl/site/lib/Net/ line 39. Prototype mismatch: sub Net::Ping::ECONNRESET: none vs () at C:/perl/site/lib/Ne t/ line 40. Prototype mismatch: sub Net::Ping::EINPROGRESS: none vs () at C:/perl/site/lib/N et/ line 41. Prototype mismatch: sub Net::Ping::EWOULDBLOCK: none vs () at C:/perl/site/lib/N et/ line 42. Looking at I found that those five lines use the syntax 'sub()'. When I changed my local copy of to use the syntax 'sub' instead, ActiveState perl v5.8.8 no longer spits out the error messages and the module works as expected. Thanks, Dennis McCoy

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

Please report any issues with to