Hi
I am failry new to Perl but picking it up. However I am stuck on one area. I need to find the file in a particular directory that was last modified. I have looked at stat 9 but still am not too sure as how to go through all the files, get their timestamp and then assign the file that was last modified to a variable.
I am sure its only a few line of code but could someone please give me some sample code to act as a skeleton.
Thanks
I am failry new to Perl but picking it up. However I am stuck on one area. I need to find the file in a particular directory that was last modified. I have looked at stat 9 but still am not too sure as how to go through all the files, get their timestamp and then assign the file that was last modified to a variable.
I am sure its only a few line of code but could someone please give me some sample code to act as a skeleton.
Thanks