Re: How do I set mtime

2004-05-13 Thread Stas Bekman
Geoffrey Young wrote: $r->mtime() is read only. to update the mtime slot you want to use $r->update_mtime(), update_mtime which is smart enough to only replace the mtime if the time you're updating with is later than the current mtime. you'll also want to make sure that you're doing this before yo

Re: How do I set mtime

2004-05-13 Thread Geoffrey Young
> $r->mtime() is read only. to update the mtime slot you want to use > $r->update_mtime(), update_mtime which is smart enough to only replace the > mtime if the time you're updating with is later than the current mtime. > you'll also want to make sure that you're doing this before you call > $r->

Re: How do I set mtime

2004-05-13 Thread Geoffrey Young
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. >

Re: How do I set mtime

2004-05-13 Thread Stas Bekman
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?

How do I set mtime

2004-05-13 Thread Joachim Zobel
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