perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tatsuhiko Miyagawa <miyag...@edge.co.jp>
Subject Re: [RFC] Apache::CacheContent - Caching PerlFixupHandler
Date Thu, 06 Dec 2001 18:28:19 GMT
On Thu, 6 Dec 2001 08:19:09 -0800
Paul Lindner <lindner@inuus.com> wrote:

> I've attached a README below.  To download it go to
> http://www.modperlcookbook.org/code.html

Nice one. here's a patch to make the sample code work :)


--- CacheContent.pm~    Thu Dec  6 22:11:35 2001
+++ CacheContent.pm     Fri Dec  7 03:23:39 2001
@@ -6,6 +6,7 @@
 @Apache::CacheContent::ISA = qw(Apache);

 use Apache;
+use Apache::Log;
 use Apache::Constants qw(OK SERVER_ERROR DECLINED);
 use Apache::File ();

--- eg/CacheWeather.pm~ Thu Dec  6 08:10:09 2001
+++ eg/CacheWeather.pm  Fri Dec  7 03:24:14 2001
@@ -8,7 +8,7 @@

 use strict;

-@CacheWeather::ISA = qw(Cookbook::CacheContent);
+@CacheWeather::ISA = qw(Apache::CacheContent);

 sub ttl {
   my($self, $r) = @_;


--
Tatsuhiko Miyagawa <miyagawa@bulknews.net>


Mime
View raw message