Update Ping.pm

Fix RT# 97884 <https://rt.cpan.org/Ticket/Display.html?id=97884>