go ahead... be a heretic | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I see others have already addressed your question well. My first thought was, when I read your question was mtime
Mtime prints the name and modification time (in seconds since the epoch) of each of the files.Seemed the fastest/easiest way to "stat" the file(s) you're interested in. So I performed a search on CPAN, and found File::Find::Age, and newest-mtime. Either one of which would probably serve you well. I think using this approach may make coding your solution easier, and should also improve the speed for the results, as drilling down a filesystem hierarchy will be the bottleneck. HTH --Chris Evil is good, for without it, Good would have no value In reply to Re: GLOB function
by taint
|
|