On Thu, Jan 18, 2007 at 11:09:16AM +1100, Gavin Carr wrote: > On Wed, Jan 17, 2007 at 06:47:51PM -0500, Perrin Harkins wrote: > > If you're using mod_perl, you can take advantage of the fast built-in > > command for formatting HTTP time strings: > > http://perl.apache.org/docs/2.0/api/Apache2/Util.html#C_ht_time_ > > my $stat = File::stat::stat $m->request_comp->source_file; > $r->set_last_modified( $stat->mtime );
Ah! Nice. Thanks. This has the added benefit of actually sending the correct timezone. According to my comparisons, I was apparently not sending the correct one before. -- jcap ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users