On Tue, 13 Nov 2001, Rahul Garg wrote:

> i have actually got the solution.
> if i have the module Bar.pm in  directory  '/usr/home/rahul/myMod'
> then in the perl script that uses this module i have to include the
> statement
>
> use lib '/usr/home/rahul/myMod' ;
> use Bar ;
>
> Thanks,
> Rahul


Yep, that will certainly do it, and is often the best way.  Another way to
do it described here (ref PERL5LIB and PERLLIB vars):
        http://www.perldoc.com/perl5.6/pod/perlrun.html#ENVIRONMENT


Dave


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to