On Tue, 20 Jul 2004 11:53:27 -0400, Perrin Harkins wrote:
> On Tue, 2004-07-20 at 06:19, Victor Tsang wrote:
> > Can't locate auto/Cache/Mmap/_lock.al in @INC
>
> You're having problems with autoloading. Check for the existence of
> "auto/Cache/Mmap/_lock.al" on your system, and then check that its
Hi Perrin,
I have tired to look for the file along the @INC I managed to find
the path but the directory is empty.
I have taken a quick look into Cache::Mmap source and it doesn't
appears to be using autoload, that Peter himself has confirmed.
I am going to take Peter's suggestion to rei
On Tue, 2004-07-20 at 06:19, Victor Tsang wrote:
> Can't locate auto/Cache/Mmap/_lock.al in @INC
You're having problems with autoloading. Check for the existence of
"auto/Cache/Mmap/_lock.al" on your system, and then check that its path
is in @INC when you run under mod_perl (command-line doesn't
On Tue, 20 Jul 2004 18:19:11 +0800, Victor Tsang wrote:
> my $vhostcache = Cache::Mmap->new("/tmp/vhost.mmap", \%options);
> .. (bunch of codes)
> ($rv, $res) = $vhostcache->read($host);
>
> instead of read.al now it complain _lock.al
>
> Can't locate auto/Cache/Mmap/_lock.al in @INC
This is jus
Victor Tsang wrote:
> > Has anyone tried using Cache::Mmap in mod_perl?
>
> That's what I wrote it for. My application uses Cache::Mmap to share
> caches between apache children and other processes.
>
> > I have written a perl code to test my design off apache, it wor
On Mon, 19 Jul 2004 11:57:56 +0800, Victor Tsang wrote:
> Has anyone tried using Cache::Mmap in mod_perl?
That's what I wrote it for. My application uses Cache::Mmap to share
caches between apache children and other processes.
> I have written a perl code to test my design off apach
Has anyone tried using Cache::Mmap in mod_perl?
I have some virtualhost related data I would like to share amoung the
apache children, a quick lookup at cpan.org I find this Cache::Mmap
module which seems to fits my need just right.
I have written a perl code to test my design off apache, it