thanks ... but in this code i can't stop the ping command.
the line close(TPN); #this line it will never happen
----- Original Message -----
From: "Jones Robert Civ TTMS Keesler" <[EMAIL PROTECTED]>
To: "active perl" <[EMAIL PROTECTED]>
Sent: Thursday, April 22, 2004 1:02 PM
Subject: RE: ping $host
>
> open (TPN, "ping -t $host|");
> while (TPN)
> { Do stuff ... }
> close(TPN);
>
>
> -----Original Message-----
> From: yop = me [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 22, 2004 11:49 AM
> To: active perl
> Subject: Re: ping $host
>
>
> Hy
>
> @result = `ping $host`; #It's works fine. :-))
>
> But what happends if i make my ping with -t option:
>
> ping -t $host.
>
> it will loop for ever. so i must make something that
> allows me to stop the ping command.
>
> How?
> mybe constructing an HTML object with VB,
> like a console
>
> some sugestions?
>
> thanks!
>
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs