Using sleep is fine if you want to sleep some number of whole seconds. If you need finer control over the sleep time, use Time::HiRes (usleep or nanosleep).
Update: Your other question might be answered in opening browser from script.
In reply to Re: Opening Given Urls and Sleep
by kyle
in thread Opening Given Urls and Sleep
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |