At the server or the client side? perldoc -f stat
If you want it on the server side. "stat" returns specific information about a file on the local filesystem (or one that can be seen locally). http://danconia.org Octavian Rasnita wrote: > Hi all, > > I am using the LWP module and I am trying to get the last modified date of > an .shtml page. > If the file is an .html, I can get the date with no problem, but if the file > is .shtml, the last_modified is "". > > I've tried using the $ENV for a local .shtml file and I had the same result > (no result). > > Maybe the last_modified is not provided for .shtml files. > I've tried to set it manually using: > > <meta http-equiv="LAST_MODIFIED" content="1001010100"> > > As far as I know, if I use http-equiv, that property is set as a normal > HTTP header. > But it is not set even though I've tried to use last_modified, > LAST_MODIFIED, LAST-MODIFIED, last-modified. > > It still remains "". > > Do you have another method for finding the last modified date for a .shtml > file? > > Thank you. > > Teddy's Center: http://teddy.fcc.ro/ > Mail: [EMAIL PROTECTED] > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]