If I'm understanding this correctly, the goal is to identify a specific
file, beyond just the name/path, correct?

I've used the inode in the past to determine whether a file had been
modified or replaced.

Ex.:
my $inode = (stat $filename)[1];

John

On 9/18/07, Andrew Moore <[EMAIL PROTECTED]> 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?
>
> -Andy
>
> _______________________________________________
> kc mailing list
> [email protected]
> http://mail.pm.org/mailman/listinfo/kc
>
_______________________________________________
kc mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/kc

Reply via email to