> Actually, yes, I had. PerlVINC is not really what I needed, the goal was
> not to reload %INC per VirtualHost, the need was to have a single
> PerlRequire set up @INC properly per VirtualHost (so Apache::StatINC
> would work). Ordinary this would have been done with something like 'use
> lib "$FindBin::Bin/lib/", but since that doesn't work under mod_perl I
> was toying with using <Perl> sections.

It sounds like maybe you were not understanding that in the mod_perl 1.x
series there is only 1 Perl interpreter shared between all VirtualHosts
(they are virtual, after all).  That means there can only be one @INC for
all VirtualHosts as well.  Things like PerlVINC cheat by messing with @INC
on each request.

- Perrin

Reply via email to