Title: RE: newbie hlelp!

Low tech and sloppy, but functional:

@outlines=`"dir $filename /a"`;  # in case file is hidden
foreach $_ (@outlines)
        {
        if (/$filename/i)
                {
                $moddate=substr($_,0,10);
                $modtime=substr($_,12,6);
                print "$filename was last modified on $moddate at $modtime.\n";
                }
        }



-----Original Message-----
From: alex p [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 15, 2003 1:41 PM
To: [EMAIL PROTECTED]
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

Reply via email to