you might want to try the following algorithm:
- assume the newest file was created long ago (1.1.2000) and store that value to a variable $newest_date
- pass through all files - using File::Find on your root directory (e.g. C://)
- in the callback-funtion check whether the creation-date of the current file is newer than the newest found before ... if yes, update $newest_date and store the new filename
You might want to read the documentataion of File::Find before, e.g. how to get the last-modifued date of the current file ...
HTH, Rata