Skip Menu |
 

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

Report information
The Basics
Id: 72330
Status: rejected
Priority: 0/
Queue: Net-Ping

People
Owner: Nobody in particular
Requestors: kisree [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in:
  • 2.02
  • 2.03
  • 2.04
  • 2.05
  • 2.06
  • 2.07
  • 2.08
  • 2.09
  • 2.10
  • 2.11
  • 2.12
  • 2.13
  • 2.14
  • 2.15
  • 2.16
  • 2.17
  • 2.18
  • 2.19
  • 2.20
  • 2.21
  • 2.22
  • 2.23
  • 2.24
  • 2.25
  • 2.26
  • 2.27
  • 2.28
  • 2.29
  • 2.30
  • 2.31
  • 2.32
  • 2.33
  • 2.34
  • 2.35
  • 2.36
Fixed in: (no value)



Subject: Host name should not include any spaces
Download (untitled) / with headers
text/plain 529b
ping function returning undef if the host name has a trailing space. Sample code : use Net::Ping; my $ping_obj = Net::Ping->new(); my $status = 0; my $host = 'solbox603 '; #Host has a trailing space $status = 1 if ($ping_obj->ping($host)); $ping_obj->close(); print "\n:$status:\n"; # # This code always prints 0 # Distribution Name : Net-Ping-2.36 Perl version : v5.8.5 built for i386-linux-thread-multi Operating System : Linux ******** 2.6.9-55.0.0.0.2.ELsmp #1 SMP Wed May 2 14:59:56 PDT 2007 i686 i686 i386 GNU/Linux
Download (untitled) / with headers
text/plain 160b
I agree. The hostname should not contain spaces. In the example shown, Net::Ping is behaving appropriately. This is a bug in the example, not in Net::Ping.
Subject: Re: [rt.cpan.org #72330] Host name should not include any spaces
Date: Wed, 13 Mar 2013 21:08:51 +0530
To: bug-Net-Ping [...] rt.cpan.org
From: Kishore <kisree [...] gmail.com>
Download (untitled) / with headers
text/plain 377b
Yes, this bug content may help some one later to debug his script. On Mar 13, 2013 9:05 PM, "Steve Peters via RT" <bug-Net-Ping@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=72330 > > > I agree. The hostname should not contain spaces. In the example shown, > Net::Ping is behaving appropriately. This is a bug in the example, not > in Net::Ping. >


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.