Try perldoc -f -M.

my $modtime = -M file; # will get you the last modified time in days.

Hope this help you.

Trevor Joerges

----- Original Message ----- 
From: "alex p" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 3:41 PM
Subject: newbie hlelp!


> Hello all,
>
> I am trying to figure out a way to get the "last modified" date of a file.
> I have looked at the following modules but they dont seem to address what
i
> need:  stat, utime, opendir
>
> does anyone know how to go about getting this date?
>
> TYIA
>
> _________________________________________________________________
> Send and receive larger attachments with Hotmail Extra Storage.
> http://join.msn.com/?PAGE=features/es
>
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>


_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to