[Bug 1831423] [NEW] Bogus warning message in Net::Ping in Bionic
Frank Burkhardt
burk at cbs.mpg.de
Mon Jun 3 07:13:47 UTC 2019
Public bug reported:
In Ubuntu Bionic's Ping.pm a test of the used socket's version is done
numerically although the Socket.pm's version contains a special
character ("_") which causes this warning message:
Argument "2.020_03" isn't numeric in numeric ge (>=) at
/usr/share/perl/5.26/Net/Ping.pm line 1801, <DATA> line 755.
Since Socket.pm is part of the same package, the test is not really useful anymore. I suggest removing it quick'n dirty via the attached patch to get rid of the warning while conserving the "old way".
** Affects: perl (Ubuntu)
Importance: Undecided
Status: New
** Tags: bionic
** Patch added: "Fix to remove bogus socket version warning in Ping.pm"
https://bugs.launchpad.net/bugs/1831423/+attachment/5268480/+files/ping-warning-fix.diff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to perl in Ubuntu.
https://bugs.launchpad.net/bugs/1831423
Title:
Bogus warning message in Net::Ping in Bionic
Status in perl package in Ubuntu:
New
Bug description:
In Ubuntu Bionic's Ping.pm a test of the used socket's version is done
numerically although the Socket.pm's version contains a special
character ("_") which causes this warning message:
Argument "2.020_03" isn't numeric in numeric ge (>=) at
/usr/share/perl/5.26/Net/Ping.pm line 1801, <DATA> line 755.
Since Socket.pm is part of the same package, the test is not really useful anymore. I suggest removing it quick'n dirty via the attached patch to get rid of the warning while conserving the "old way".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1831423/+subscriptions
More information about the foundations-bugs
mailing list