in reply to SelfChanging script!
Yes, this is possible. But it has nothing to do with Perl (at first glance anyway).
On *nix systems, this is a job for cron, look at man cron
On Win32, Start -> Accessories -> System Tools -> Scheduled Tasks