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

----- Original Message -----
From: EternalLifeThereAfter <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 13, 2001 2:28 PM
Subject: Re: installing modules


> ----- Original Message -----
> From: "Rahul Garg" <[EMAIL PROTECTED]>
> To: "Dave Storrs" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
> "eventualdeath" <[EMAIL PROTECTED]>
> Sent: Monday, November 12, 2001 2:49 PM
> Subject: Re: installing modules
>
>
> > But
> > if i want to have my module(say, same as above)  in  /usr/home/rahul/
> > instead of  /usr/local/lib/perl5/site_perl
> > then how i can put that directory in @INC...what then exacly i have to
> do..
>
> My guess is that @INC is inside perl.exe.
>
>
>
>
> _________________________________________________________
>
> Do You Yahoo!?
>
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


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

Reply via email to