Need some assistance: A script that writes (will usually appends) 8 records (rows/lines/whatever) to a flat file problem: If there are NO records with the date (date format: 03-Apr-08) of the "incoming data" I want to write/append these records to the file If there are existing records with the date (03-Apr-08) of the "incoming data" I want to simply exit the script. The script will run multiple times per day, everyday. Sample input (8 records) "use these values(1234,'03-Apr-08',1234.56);" "use these values(1357,'03-Apr-08',1234);" "use these values(2468,'03-Apr-08',333666);" "use these values(4567,'03-Apr-08',3456);" "use these values(2233,'03-Apr-08',3234.56);" "use these values(3356,'03-Apr-08',2234);" "use these values(5577,'03-Apr-08',633666);" "use these values(5577,'03-Apr-08',2456);"
Using the date as the determining factor as to write/append or simply exit the script because the data already exist from a prior run, how is the best way to do this and how do I easily compare dates in Perl Thanks J. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/