Skip Menu |

This queue is for tickets about the Apache-Singleton CPAN distribution.

Report information
The Basics
Id: 4753
Status: resolved
Priority: 0/
Queue: Apache-Singleton

People
Owner: Nobody in particular
Requestors: makoto [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Apache2‚ɑΉž‚µ‚Ä‚à‚炦‚Ü‚¹‚ñ‚©H
‚¨¢˜b‚É‚È‚Á‚Ä‚¨‚è‚Ü‚·B ‚Ü‚±‚Ɓ—CPAN.jp‚Å‚·B ‘½•ª‚±‚ê‚Å“®‚­‚ÆŽv‚¤‚Ì‚Å‚·‚ªA‚Ç‚¤‚Å‚µ‚傤‚©H package Apache::Singleton::Request; use strict; use vars qw($VERSION); $VERSION = '0.01'; use Apache::Singleton; use base qw(Apache::Singleton); my $Apache = eval{require Apache;'Apache'} || eval{require Apache2;'Apache2'} || die(); sub _get_instance { my $class = shift; my $r = $Apache->request; my $key = "apache_singleton_$class"; return $r->pnotes($key); } sub _set_instance { my($class, $instance) = @_; my $r = $Apache->request; my $key = "apache_singleton_$class"; $r->pnotes($key => $instance); } 1; __END__
Subject: Apache2
Sorry I can't read this message on Japanese, and Apache2 has recently changed its API. So patches for the new Apache2 API will be welcome.