[Kc] File Stats
djgoku
djgoku at gmail.com
Wed Sep 19 00:56:21 PDT 2007
On 9/18/07, Andrew Moore <amoore at mooresystems.com> wrote:
> On Mon, Sep 17, 2007 at 04:31:39PM -0500, djgoku wrote:
> > What is the best way to keep track that a certain file is the same one
> > that has been previously looked/opened at.
>
> I'd think that one of the File::* modules would be able to generate a
> list of unique files in a directory. Have you looked at (off the top
> of my head) File::Find or File::Next and their ilk?
I just use the information from stat(). I am currently using the size,
mtime, ctime.
Hopefully this answers both your question, and JohnR's. I have looked
around File::* but haven't found anything to suit my needs.
Jonathan
More information about the kc
mailing list