Using Files in Chronological Order

2014-01-27 Thread Martin G. McCormick
This is a perl philosophy question. I need to look for some files, newest first. If I use the glob directive in perl, I can fill an array with all the file names that match the pattern but they aren't sorted in to chronological order. I found a perlmonks posting in which the same question

Re: Using Files in Chronological Order

2014-01-27 Thread Shawn H Corey
On Fri, 24 Jan 2014 06:26:58 -0600 Martin G. McCormick mar...@server1.shellworld.net wrote: I have read perl instructional documentation that warns about using system(commands) and shell commands so my question is, what is wrong with that? The only thing I can see is that it is

Re: Using Files in Chronological Order

2014-01-27 Thread Paul Johnson
On Fri, Jan 24, 2014 at 06:26:58AM -0600, Martin G. McCormick wrote: This is a perl philosophy question. I need to look for some files, newest first. If I use the glob directive in perl, I can fill an array with all the file names that match the pattern but they aren't sorted in to