hi,
I don't kinow if this is waht you are looking for but I use this code for the last
modified bit
[#get the lastmodified date...#]
[-
use POSIX;
$modified_date = (stat($0))[9];
$modified_date = POSIX::strftime("%B %d, %Y",localtime($modified_date));
-]
and it, though maybe it is complicated, works...
peter
<i>Document last modified: [+$modified_date+]</i><br>
>>> Jaak <[EMAIL PROTECTED]> 27.11.01 11.07 Uhr >>>
Hi!
I browsed embPerl archives and found that [+ localtime(($req_rec->finfo)[9]);
+] is the best way to display last modified information.
But I get: Thu Jan 1 03:00:00 1970.
I think $req_rec doesn't get information. What can I do to prevent that?
I'm using embPerl with mod_perl.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]