Re: ping via perl?

2000-05-02 Thread w trillich
Nathan E Norman wrote: The Net::Ping module is part of package perl-5.005; there's an open bug that seems to address this issue: http://www.debian.org/Bugs/db/55/55427.html Note that this Net::Ping module tries to create a UDP socket by default; this doesn't work. I don't think the

ping via perl?

2000-05-01 Thread w trillich
could this be a result of the perl5.004* vs. 5.005* situation? if not, then--what? #!/usr/bin/perl use Net::Ping; my $ip = 208.33.90.84; my $wait = 5; $p = Net::Ping-new(); print $ip is alive.\n if $p-ping($ip); $p-close(); __END__ Bad arg length for Socket::unpack_sockaddr_in, length is

Re: ping via perl?

2000-05-01 Thread Nathan E Norman
On Mon, May 01, 2000 at 04:20:52PM -0500, w trillich wrote: could this be a result of the perl5.004* vs. 5.005* situation? if not, then--what? #!/usr/bin/perl use Net::Ping; my $ip = 208.33.90.84; my $wait = 5; $p = Net::Ping-new(); print $ip is alive.\n if $p-ping($ip);