How do you write a perl script that accept a directory name as a command line argument and then looks at all of the files in that directory to fined the oldest file. Print out the name of the file and the age of that file in days. If no directory name is listed on the command line perform the check on the current directory.
Thank you for your help
Thank you for your help