Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Sort an array which contains date formatted elementsby johngg (Canon) |
on Jul 17, 2007 at 22:13 UTC ( [id://627146]=note: print w/replies, xml ) | Need Help?? |
I agree with your suggestion to use a ST but my preference would be to use a regex to pull out the month, day and year elements and do a three-way sort, greping only those filenames that match.
The output is as yours. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|