[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Problem with RH5.2 & Perl
- From: "Pete Lancashire" <petel pdxengineering com>
- To: <redhat-install-list redhat com>
- Subject: Problem with RH5.2 & Perl
- Date: Sat, 3 Jul 1999 22:18:32 -0700
First, if this is the wrong mailing list; Please
let me know which one to use.
I tried the support portion of the RedHat web site
but it is 'being updated'.
All are 'stock' from the 5.2 CD
I added the Net::Ping module to perl. And this
simple program fails.
--------------------------------
#!/usr/bin/perl
use Net::Ping;
$host = "10.0.1.1";
print "$host\n";
$p = Net::Ping->new();
print "$host is alive.\n" if $p->ping($host);
$p->close();
---------------------------------
Running this I get:
Bad arg length for Socket::unpack_sockaddr_in,
length is 0, should be 16 at
/usr/lib/perl5/i386-linux/5.00405/Socket.pm line 275.
Versions:
Net::Ping 2.02
Socket.pm 1.6 (and tried the latest 1.7)
Socket.pm uses
/usr/include/sys/socket.h version unknown (not in header)
but is dated Oct 13 1998
-pete
Pete Lancashire
PDX Engineering petel pdxeng com
123 NW 22nd Place (503) 222-5835
Portland, OR 97210 USA
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]