in reply to Re: do something no more than 3 times a second
in thread do something no more than 3 times a second
you could use select as described in perlfunc
You can effect a sleep of 250 milliseconds this way: select(undef, undef, undef, 0.25);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: do something no more than 3 times a second
by JavaFan (Canon) on Nov 27, 2010 at 00:44 UTC |