Sherm Pendley said:
You don't precisely *need* a module, true, but there are certainly modules
that will help make parts of it much easier.
True. But remember this is a pretty simple task...
As you say, cron is the way to schedule a periodic job, assuming a *nix
platform. Anacron might also be useful, if the machine running the script
sleeps and/or powers down occasionally.
Bottom line, set the script on a scheduler.
Why would you bother using LWP to fetch the modification date of a
LOCAL file? Just using "-M" would require less coding then LWP. Perl
is great because there are many ways to perform a task but I find it
pointless to use LWP in this case.
Quite a few modules to choose from here - search CPAN for "Mailer", "SMTP",
and "MIME".
Well i'm not going to suggest SMTP since the poster never mentioned
anything about it. To email a group of people why not have perl open
the mail program... Again, another pointless reason to use a module.