You almost have it. You also need the Parent option. See the docs for more info.
<VirtualHost ...> ServerName dev PerlOptions +Parent PerlSwitches -Mlib=/home/dev/lib/perl </VirtualHost> <VirtualHost ...> ServerName test PerlOptions +Parent PerlSwitches -Mlib=/home/test/lib/perl </VirtualHost>
In reply to Re: Dynamic @INC under mod_perl2 (Apache2 VirtualHost)
by idsfa
in thread Dynamic @INC under mod_perl2 (Apache2 VirtualHost)
by graq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |