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 something to the file, but
instead the most recent time in which I was able to
add something to the file...  How can I get the time
at which the file was last modified?

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to