Joachim Zobel wrote:
Hi.

I try to use the $r->mtime($upd) method to set a pages last modified to
a database timestamp. perldoc Apache::File tells me
"The last modified time may also be changed using this method"


My error log however says "Usage: Apache::mtime(r)", if I try.

So how do I do it? I do not want to use update_mtime. Normally mtime is
set by SSI XBitHack full and pretty OK. I want to set it only in special
cases.

Probably the doc is not matching the reality. Try update_mtime documented at: http://perl.apache.org/docs/1.0/api/Apache/File.html#Apache_Methods_added_by_Apache__File

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to