Stas Bekman wrote: > There are a few nits to solve with Apache::File compat: > > the same here:
in fact this one is the opposite, the syntax in 2.0 is only $r->set_last_modified, with no args. > =item $r->set_last_modified() > > This method is used to set the outgoing Last-Modified header from the > value returned by $r->mtime. The method checks that the specified time > is not in the future. In addition, using set_last_modified() is faster > and more concise than setting Last-Modified in the headers_out table > yourself. > > You may provide an optional time argument, in which case the method > will first call the update_mtime() to set the file's last modification > date. It will then set the outgoing Last-Modified header as before. > > $r->update_mtime((stat $r->finfo)[9]); > $r->set_last_modified; > $r->set_last_modified((stat $r->finfo)[9]); #same as the two lines above _____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]