On Sat, 20 Dec 2003 04:33:24 -0600
christopher j bottaro <[EMAIL PROTECTED]> wrote:

> on my system, perl looks for modules in /usr/lib/perl5/5.8.0/.  how can i 
> specify an additional path to look for modules in?  say for 
> instance, /home/cjb/perlmodules/ in addition to the aforementioned path.


I think the easiest for you would be to;

use Modules;    # as found in /usr/lib/perl5/5.8.0/

use lib '/home/cjb/perlmodules';   #followed by
use MyModule;   #and/or any other module you have there


-- 
Owen


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to