On Thu, 20 Dec 2001 08:57:32 -0000 Matt Sergeant <[EMAIL PROTECTED]> wrote:
> Yeah, just like that. Why don't you wrap it up and stick it on CPAN? Saves > me another module :-) Okay ;) The URL http://bulknews.net/lib/archives/Apache-Singleton-0.01.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MI/MIYAGAWA/Apache-Singleton-0.01.tar.gz size: 1641 bytes md5: 57abd03817ead367287d1f5908c0143b NAME Apache::Singleton - Singleton class for mod_perl SYNOPSIS package Printer; use base qw(Apache::Singleton); # just the same as Class::Singleton DESCRIPTION Apache::Singleton works the same as Class::Singleton, but clears the singleton out on each request. This module checks $ENV{MOD_PERL}, so it just works well in non-mod_perl environment. AUTHOR Original idea by Matt Sergeant <[EMAIL PROTECTED]>. Code by Tatsuhiko Miyagawa <[EMAIL PROTECTED]> This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO the Class::Singleton manpage -- Tatsuhiko Miyagawa <[EMAIL PROTECTED]>