in reply to Please advice

This is not a code writing service - monks are generally very generous with their assistance, but we are here to assist you, not to do your work. Show us what you've tried, what didn't work, what you thought might work, etc.

Also, please wrap input and output in <code> tags just like you would code - it will preserve white space formatting and prevent a couple of perlmonks shortcuts from kicking in.

With regards to some of the specific questions you do ask, I would recommend checking out DateTime and File::Find.