permanently changing @INC

2006-05-12 Thread Ryan Perry
How can I permanently change @INC?  I've seen ways to alter this  
temporarily, but I want to add a directory forever.


Ryan

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




Re: permanently changing @INC

2006-05-12 Thread Tom Phoenix

On 5/12/06, Ryan Perry [EMAIL PROTECTED] wrote:


How can I permanently change @INC?  I've seen ways to alter this
temporarily, but I want to add a directory forever.


Recompile perl from the source, and reinstall. Cheers!

--Tom Phoenix
Stonehenge Perl Training

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




RE: permanently changing @INC

2006-05-12 Thread Gavin Bowlby
Another way to do this is to append the desired paths to the environment
variable PERL5LIB.

This environment variable change would need to be embedded within some
sort of setup script for your Perl programs, or in a .profile or
equivalent file that is executed whenever users open a new command
shell.

HTH,

Gavin

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Tom Phoenix
Sent: Friday, May 12, 2006 7:29 AM
To: Ryan Perry
Cc: Perl Beginners
Subject: Re: permanently changing @INC

On 5/12/06, Ryan Perry [EMAIL PROTECTED] wrote:

 How can I permanently change @INC?  I've seen ways to alter this
 temporarily, but I want to add a directory forever.

Recompile perl from the source, and reinstall. Cheers!

--Tom Phoenix
Stonehenge Perl Training

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



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