Steve Meier smeier at
Tue May 16 09:26:28 CDT 2000

Could someone tell me what I am doing wrong? What I want to do is look
at each line that comes in on a ping. Eventually I will add regexp that
will extract what I want out, but I am not going to worry that until I
get the basics working. I know this is how you would go about it if it
was a file that you wanted to look at line by line.

Any help is greatly appreciated.

$ping = "/usr/sbin/ping";

open (PING, "$ping $desthost ");

while (<PING>)
        printf $_;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smeier.vcf
Type: text/x-vcard
Size: 220 bytes
Desc: Card for Steve Meier
Url :

More information about the San-Diego-pm mailing list