Re: file modification dates

2001-07-09 Thread Randal L. Schwartz
> "Thomas" == Thomas Jakub <[EMAIL PROTECTED]> writes: Thomas> I'm trying to see when a file was last modified. Thomas> Here's the code segment... Thomas> open filename, ">temp"; Thomas> #random time consumming statements go here Thomas> $then = time; Thomas> utime $then, $then, filename; Th

Re: file modification dates

2001-07-09 Thread Gabor Szabo
Hi Thomas, use the stat function with the file. you canget more information by typing perldoc -f utime and perldoc -f stat reagrds -- Gabor On 2001.07.09 21:13 Thomas Jakub wrote: > I'm trying to see when a file was last modified. > Here's the code segment... > > open filename, ">temp"; > #r

file modification dates

2001-07-09 Thread Thomas Jakub
I'm trying to see when a file was last modified. Here's the code segment... open filename, ">temp"; #random time consumming statements go here $then = time; utime $then, $then, filename; print $then; close filename; The problem is, every time I do this, I don't get the time of when I last added