I have a question that maybe someone can help me with. I am writing/creating a file on a unix server, and I check to see if the file exists before I create it. If it does create a new file, I want to send the previous file via e-mail to a specific person.
I currently have it working for the previous day, I use the date for the filename. But, what if the day before is not the previous file? I want to code something that will either, check the date on the file, or find the previous file, whether it be the day before, i.e. 051104.txt to 051204.txt or some day distant, i.e. 050804.txt to 051204.txt.
I hope I am explaining myself correctly, feel free to ask as many questions you can if i have explained myself well enough.
-- Joseph A. Ruffino Automated Systems Assistant 270 N. Grove Ave Elgin, Il 60120 Phone: (847) 742-2411 ext 5986 Fax: (847) 742-0485
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>