read date stamp on file

read date stamp on file

am 28.03.2008 22:09:23 von Ted Yu

--===============1036853146==
Content-Type: multipart/alternative; boundary="0-1712558602-1206738563=:28646"
Content-Transfer-Encoding: 7bit

--0-1712558602-1206738563=:28646
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hello:

I have a program that reads the size of the file by the following line:

$size =3D stat($upload_filename)->size;

Is there a similar line I can use to get the date / time stamp of the fil=
e. Thanx, and appreciate your feedback.

Regards,

Ted

--0-1712558602-1206738563=:28646
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hello:

I have a program that reads the size of the file by the fol=
lowing line:

$size =3D stat($upload_filename)->size;

Is =
there a similar line I can use to get the date / time stamp of the file.&=
nbsp; Thanx, and appreciate your feedback.

Regards,

Ted

--0-1712558602-1206738563=:28646--

--===============1036853146==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1036853146==--

RE: read date stamp on file

am 28.03.2008 22:13:34 von eroode

Did you read the documentation for the File::stat module? Or the
build-in stat() function?

Eric

________________________________

From: activeperl-bounces@listserv.ActiveState.com
[mailto:activeperl-bounces@listserv.ActiveState.com] On Behalf Of Ted Yu
Sent: Friday, March 28, 2008 5:09 PM
To: activeperl@listserv.ActiveState.com
Subject: read date stamp on file



Hello:

I have a program that reads the size of the file by the following line:

$size = stat($upload_filename)->size;

Is there a similar line I can use to get the date / time stamp of the
file. Thanx, and appreciate your feedback.

Regards,

Ted

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs