in reply to sleeping for a minute
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 Section
Seekers of Perl Wisdom