Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (sorting)
I am just getting into perl,and have a basic simple question. I have written a script that reads in a directory of logfiles, sorts them in reverse chronological order, and outputs them into an html page.
I cannot figure out how to sort the directory deeper than just the month, which comes first (the files in the dir are all listed by month/day/year). How can I sort this so the most recent days are first?
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: how do I sort a list chronologically from most recent to last?⭐
by chromatic (Archbishop) on Oct 28, 2000 at 06:19 UTC | |
Re: how do I sort a list chronologically from most recent to last?
by ashok (Sexton) on Nov 03, 2000 at 01:30 UTC | |
Re: how do I sort a list chronologically from most recent to last?
by I0 (Priest) on Dec 26, 2000 at 21:40 UTC |
Back to
Seekers of Perl Wisdom