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
Hi Peter,
Thanks for your promp reply, I have tried to reinstall Cache::Mmap
via CPAN as you suggested, but doesn't seems to help, the error still
show up.
I am pitty sure the perl have not been changed after I installed
mod_perl, but I will try recompile mod_perl tomorrow just to make
sure.
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 apache, it works
>