Re: Repeating the loop
- From: Jürgen Exner <jurgenex@xxxxxxxxxxx>
- Date: Wed, 27 Aug 2008 11:18:01 GMT
Arun <sajapuram.arun.prakash@xxxxxxxxx> wrote:
i wanted the followinf loop to be repeated for every 30 seconds.
Didn't you ask exactly the same question in a different thread on the
20th already?
$send_data = strftime( "::DATA::123456789101112,%d.%m.%Y,%H:%M:%S,
13.0076367,77.5489267,0,933.4,AirTel,31,0 \n", gmtime);
DATA: {while(1)
{
$handle-> send($send_data);
last DATA;
}
}
so how do i do it.
As you have been told before: perldoc -f sleep
jue
.
- References:
- Repeating the loop
- From: Arun
- Repeating the loop
- Prev by Date: Re: Huge perl scripts collection of any kinds for free
- Next by Date: Re: Huge perl scripts collection of any kinds for free
- Previous by thread: Repeating the loop
- Next by thread: subprocesses lifecycle
- Index(es):