Also consider: perldoc File::Find
On Wed, Feb 04, 2004 at 11:40:21AM -0700, Wiggins d Anconia wrote: > > Hi, > > > > Does anybody know if there is an option in readdir to return the file list > > in the order of their creation time? Or know of a way to do that? Been > > reading the perldoc w/o much luck. Thanks! > > > > Doubtful, but it should be trivial using readdir in a list context and > using 'sort' with 'stat'. > > perldoc -f sort > perldoc -f stat > perldoc -q sort > > The bigger question is "are you sure you want to?" the "creation time" > on most OSes doesn't actually mean anything or exist at all. There is > the 'ctime' which is an inode change time which means even less to most > Perl programs. Are you positive your OS supports a creation time? What > are you really trying to do? > > http://danconia.org > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > -- Brad Lhotsky <[EMAIL PROTECTED]> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>