Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Sort an array which contains date formatted elements

by msk_0984 (Friar)
on Jul 20, 2007 at 06:40 UTC ( #627721=note: print w/replies, xml ) Need Help??


in reply to Re: Sort an array which contains date formatted elements
in thread Sort an array which contains date formatted elements

Respected monks

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.

Snopal

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.

Sushil Kumar
  • Comment on Re^2: Sort an array which contains date formatted elements

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://627721]
help
Chatterbox?
[marto]: this sounds like a sub section for Sane Dots
[Corion]: marto: You mean "Sane Dots Dramatic Reading of ITIL" ? ;)
[marto]: Sane Dots, chapter 13: ITIL never work :P
[marto]: sorry, bad pun of it'll :P
[Corion]: :-D
[Corion]: I think that ITIL is mostly to prevent people from doing harm to a system that basically runs unattended :)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-01-24 10:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (203 votes). Check out past polls.