in reply to Net::Ping just don't werk
Prints:#!/usr/bin/perl use Net::Ping; $p = Net::Ping->new('icmp'); print "She's workin\n" if $p->ping("ns.online.no"); $p->close();
So it works like a charm running perl version 5.005_03 on kernel 2.2.17 (Debian potato).zodiac:/home/perl# ./test1.pl She's workin zodiac:/home/perl#
|
|---|