I am a PERL novice. Currently dealing with a problem and wondering whether it can be solved using PERL?
I got a folder containing a number of text files. Every time a file is created a timestamp is added at the end followed by an "_". for example "apple_20101210091255.txt".
apple = item name
20101210091255 = timestamp, format: yyyymmddhhhhmmss
txt = filetype
Now the folder contains the following files:
The script to create an array which holds the latest file on each item (apple, orange, banana, coconut) based on timestamp.
Is this possible?
I believe there are PERL gurus out there who could solve the problem with little effort.
Please share your knowledge....