Maybe you don't need use lib at all, if you are able to set environment variables visible to your live and beta websites (possibly customized for each of these). If that's the case, you can add some paths to @INC automatically by setting the PERL5LIB variable.
Read more about it in the section "ENVIRONMENT" on perlrun.
In reply to Re: problem with paths to library files
by ferreira
in thread problem with paths to library files
by j_c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |