Apache-PerlVINC
view release on metacpan or search on metacpan
PerlVINC.pm view on Meta::CPAN
=head1 DESCRIPTION
With this module you can run two copies of a module without having to
worry about which version is being used. Suppose you have two C<VirtualHost>
or C<Location> that want to each use their own version of C<Spellcheck.pm>.
Durning the FixUp phase, C<Apache::PerlVINC> will tweak C<@INC> and reload
C<Spellcheck>. Optionally, it will unload that version if you specify
C<Apache::PerlVINC> as a PerlCleanUpHandler.
As you can guess, this module slows things down a little because it unloads and
reloads on a per-request basis. Hence, this module should only be used in a
development environment, not a mission critical one.
=head1 DIRECTIVES
=over 4
=item PerlINC
Takes only one argument: the path to be prepended to C<@INC>. In v0.1, this was
( run in 0.669 second using v1.01-cache-2.11-cpan-702932259ff )