I have a directory (say, dir-A) wherein every 10 minutes an 'autosave' file is created. These files are named 'reports.*.autosave' where the asterisk would represent some numeric value. These numeric values are NOT in any particular sequence. Every 10 minutes, I need to copy the most recent (latest) of these save file to another directory (say, dir-B) . I cannot make the application directly generate the autosave file to dir-B. Is there a way to do this in Perl?
TIA Steve
