|more useful options|
Thank You all for your prompt replies and my problem has been sorted out. I could really learn a lot from each and every idea that has beem posted to me. Here in Perlmonks site I have evoled myself and have learnt a lot.
This is also a very good idea to sort the files up on the modification time as the latest file is the one which is modified according to the dates.
This also has done the trick for me but can you please explain me wat does "1" do there becos since -t and -r we use them for the modification time and to reverse sort. But "1" i was not able to find wat does 1 do ...
Any ways thank uo very much for ur solution too.