in reply to Checking Age of Files
You can check how old a file is using the -M function. You can get the contents of your directory using the set opendir, readdir, and closedir, where there is an example at readdir.
There are large number of email modules freely available on CPAN - one useful search term would be email. Email::Sender::Simple, for example, may do what you want.
Update: Note toolic's comment below regarding units. -M does return in units of days, but in decimal days. A simple conversion factor of 24 is all that is required.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Checking Age of Files
by toolic (Bishop) on Jan 25, 2010 at 17:46 UTC | |
by ikegami (Patriarch) on Jan 25, 2010 at 17:49 UTC | |
by toolic (Bishop) on Jan 26, 2010 at 13:23 UTC |