While looking into our legacy system we found that some records which are stored as comma delimited text files, dates fields are with 2 digit year. Now for each key there are many records. we want to have records with oldest date only, How should we do date comaparison because some records are new also ie after 2000. rest of the process is done but we are confused about it. All scripts are in perl only.