Control: tags -1 + moreinfo

On Thu, Sep 21, 2017 at 06:52:59PM -0400, Eric Cooper wrote:
> Package: perl-modules-5.26
> Version: 5.26.0-8
> Severity: normal
> 
> When I execute a program that uses Net::Ping, I get the following
> error message:
> 
>     Argument "2.020_03" isn't numeric in numeric ge (>=) at 
> /usr/share/perl/5.26/Net/Ping.pm line 1801.
> 
> On my machine, the line in question is
>    1799   # address check
>    1800   # new way
>    1801   if ($Socket::VERSION >= 1.94) {

Hi,

I was unable to reproduce this with the following script, either
from the use line or by duplicating the above comparison:

$ cat test.pl 
#!/usr/bin/perl

use Net::Ping;
use Socket;

print $Socket::VERSION . "\n";
print $Socket::VERSION >= 1.94;
print "\n";

Please could you confirm whether this script prints any warnings
for you, and if not, can you provide a reduced version of the program
that you're running that exhibits this behaviour (ideally one which does
not require any external dependencies or configuration).

Dominic.

Reply via email to