[Memphis.pm] Net::Ping spawned from earlier discussion
Durango
durango at linuxfiles.net
Tue Oct 3 14:38:01 CDT 2000
Hi all,
I descided to look into Net::Ping as a replacement for what I have nmap
doing in a perl script I'm hammering on.
I made a little test prog:
It yeilded the error message a little ways down...
#!/usr/bin/perl -w
use Net::Ping;
my $host = "www.yahoo.com";
$p = Net::Ping->new();
print "$host is alive.\n" if $p->ping($host);
$p->close();
[root at renegade /root]# ./plping.pl
Use of uninitialized value at /usr/lib/perl5/5.00503/i386-
linux/Socket.pm line 295.
Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be
16 at /usr/lib/perl5/5.00503/i386-linux/Socket.pm line 295.
With out digging into Socket.pm - why is this error happening or any
ideas is what I'm looking for.
My install is a Server install of RH 6.2
Raymond Tant
http://linuxfiles.net
--
NeoMail - Webmail that doesn't suck... as much.
http://neomail.sourceforge.net
----------------------------------------------------------------------------
To unsubscribe, please send email to majordomo at pm.org
with 'unsubscribe memphis-pm-list' in the body of the message.
----------------------------------------------------------------------------
More information about the Memphis-pm
mailing list