Hi Sami,

Thanks for the reply.  I cannot change the *.cgi files.   Is there anyway for 
setting the libraries manually.

Narmadha

-----Original Message-----
From: Sami FANTAR [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 04, 2006 3:32 PM
To: beginners@perl.org
Subject: Re: Where to change @INC in perl

[EMAIL PROTECTED] a écrit :
> Hi,
>
> I am  newbie to the perl.
> I have installed DBI perl module in FreeBSD under this directory
> /usr/local/lib/perl5/5.00503.
> But FreeBSD already contains perl5 under  /usr/local/lib/perl5/5.8.7.
>
>
> # Perl -V
> Built under freebsd
>   Compiled at Oct 12 2005 01:26:55
>   @INC:
>     /usr/local/lib/perl5/site_perl/5.8.7/mach
>     /usr/local/lib/perl5/site_perl/5.8.7
>     /usr/local/lib/perl5/site_perl
>     /usr/local/lib/perl5/5.8.7/BSDPAN
>     /usr/local/lib/perl5/5.8.7/mach
>     /usr/local/lib/perl5/5.8.7
>
>
> I want include libraries from /usr/local/lib/perl5/5.00503 also.
> But this DBI libraries does not include in @INC.
>
> I want to change manually. Can anyone tell me where do I change this
> @INC.
>
> Thanks
> Narmadha
>
>
> The information contained in this electronic message and any attachments to 
> this message are intended for the exclusive use of the addressee(s) and may 
> contain proprietary, confidential or privileged information. If you are not 
> the intended recipient, you should not disseminate, distribute or copy this 
> e-mail. Please notify the sender immediately and destroy all copies of this 
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient should 
> check this email and any attachments for the presence of viruses. The company 
> accepts no liability for any damage caused by any virus transmitted by this 
> email.
>
> www.wipro.com
>
>  
You can use

use lib 'the_path_to_your_local_module';

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




The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

--
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