And here's a non-perl suggestion:
If your script runs on a linux or unix-like system, you can create a cronjob, which runs your script every minute.
In Windows you could set up a scheduled task to do so.
I'd prefer running the script every minute (by cron or scheduled task) than having it run continuously and sending it regularly to sleep for a minute.
In reply to Re: sleeping for a minute
by linuxer
in thread sleeping for a minute
by learn2earn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |