@stat = stat $file;
$time = @stat[10];
print $time;


--------------
Bob Erinkveld (Webmaster Insane Hosts)
www.insane-hosts.net
MSN: [EMAIL PROTECTED]





From: "Jerry Preston" <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
To: "Beginners Perl" <[EMAIL PROTECTED]>
Subject: file time
Date: Wed, 11 Dec 2002 09:51:55 -0600

Hi!

I am trying to get the current file time by the following:

      $file_datetime = ctime( stat( "$file_name" )->mtime );

All I get is the time that the file was created.  What am I doing wrong?

Thanks,

Jerry


_________________________________________________________________
Ontvang je Hotmail & Messenger berichten op je mobiele telefoon met Hotmail SMS http://www.msn.nl/jumppage/


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to