You can use glob to get all the files in the directory. Use the -M or -C or -A file test on the file name to get the time depending on your requirement. For more information on these tests read through perldoc -f -x.
"Dolfen, Stefan" wrote: > Hello, > > how can I find the latest file in a directory ? > > thanks, > Stefan > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]