|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: Sort an array which contains date formatted elementsby snopal (Pilgrim) |
| on Jul 17, 2007 at 14:45 UTC ( #627038=note: print w/ replies, xml ) | Need Help?? |
|
If you can be assured that your files are not altered after the log moves on (big assumption that must be verified), you might just use a 'stat' mtime as your sort key. Also, if you want to do a system call using backtics, you can let the file system sort your files for you (assuming UNIX).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||