Emi has asked for the wisdom of the Perl Monks concerning the following question:

Hi there !

Any idea how to see if a host/router is alive ? I mean, other than executing "/bin/ping" ;) ...

A few lines of code would be nice.
Thanks,
Emi

Replies are listed 'Best First'.
Re: Ping-ing from Perl scripts
by azatoth (Curate) on Jun 27, 2001 at 12:18 UTC
Re: Ping-ing from Perl scripts
by busunsl (Vicar) on Jun 27, 2001 at 12:18 UTC
    Try Net::Ping or Net::Ping::External from CPAN
Re: Ping-ing from Perl scripts
by holygrail (Scribe) on Jun 27, 2001 at 12:18 UTC
      Thanx a lot guys,
      Emi