Hi,
Is there a code I can use in perl to check to see if it is the current datesdata or at least the last 3 days dates, if it is older than 3 days then
delete the data in the file it creates?
The following online references may be relevant for your project.
perldoc -f stat perldoc -f -M
alfred,
Overstreet, Melody wrote:
We have a perl script file named buildgen.pl which will go out and look at a day to see if it is Monday, Tuesday, Wednesday, Thursday, Friday, and Saturday. For instance it should have done Tuesday last night. Once it creates this file, it does not erase the file it waits till the next time it is ran and overwrites the file. So if another department does not do there job to get us the correct data then it does not update the script with the new data, it just leaves the old data which was last Week Tuesday data.
Is there a code I can use in perl to check to see if it is the current dates
data or at least the last 3 days dates, if it is older than 3 days then
delete the data in the file it creates?
I hope I am making sense.
Because this file is picked up by the Internet department to put it up on the internet and we are giving them bad data.
Melody A. Overstreet Business System Analyst Corpus Christi Caller-Times 361-886-4340 [EMAIL PROTECTED]
--- Perl is my reason for following the Sun;
