If you want to have module A available sometimes, such as when you're working on module B, but not for your regular perl fun, you can look into local::lib, which is a simple way to install some modules to a user-specified directory. Then when you wish to work on module B simply add the directory where module A is installed to your PERL5LIB environment variable, and remove it when you do not need it. See documentation for local::lib: http://search.cpan.org/perldoc?local::lib
If you want to have module
Aavailable sometimes, such as when you're working on moduleB, but not for your regular perl fun, you can look intolocal::lib, which is a simple way to install some modules to a user-specified directory. Then when you wish to work on moduleBsimply add the directory where moduleAis installed to yourPERL5LIBenvironment variable, and remove it when you do not need it. See documentation forlocal::lib: http://search.cpan.org/perldoc?local::lib