Changing @INC - related to my Date post ... :-) - something trivial I think

2010-01-22 Thread newbie01
Hi all. Am wanting to change the location of @INC to point to where some of the date's pm files are. Can anyone please advise if it is possible to have the use lib on a single line or is this not possible? #!/usr/bin/perl use lib '/oracle/product/10.2.0/perl/lib/site_perl/5.8.3/HTTP'; use Date;

Re: Changing @INC - related to my Date post ... :-) - something trivial I think

2010-01-22 Thread Shlomi Fish
On Friday 22 Jan 2010 13:07:13 newbie01 wrote: Hi all. Am wanting to change the location of @INC to point to where some of the date's pm files are. Can anyone please advise if it is possible to have the use lib on a single line or is this not possible? #!/usr/bin/perl First of all,

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:

RE: permanently changing @INC

2006-05-12 Thread Gavin Bowlby
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

Changing @INC

2002-11-05 Thread todd shifflett
I just re-installed perl 5.8.0 on my mac. When I did the new version was placed into /opt/bin where I do not want it so I moved all the files and man pages to where they should be. Now How do I change the @INC array? I would also like to know how to change the other information listed with

Re: Changing @INC

2002-11-05 Thread Paul Johnson
todd shifflett said: I just re-installed perl 5.8.0 on my mac. When I did the new version was placed into /opt/bin where I do not want it so I moved all the files and man pages to where they should be. Now How do I change the @INC array? You don't. Your options are: - recompile perl

Re: Changing @INC (libgd and the GD module)

2002-11-05 Thread todd shifflett
Thank you. I decided to recompile perl, which seemed to work well. The big problem I am having is getting the GD.pm module to work because it needs shared libraries which I am having trouble installing. Have you had any luck installing libgd, zlib or the GD perl module? I guess if you're using

Re: Changing @INC (libgd and the GD module)

2002-11-05 Thread Chris Garaffa
On Tuesday, November 5, 2002, at 10:23 AM, todd shifflett wrote: Thank you. I decided to recompile perl, which seemed to work well. The big problem I am having is getting the GD.pm module to work because it needs shared libraries which I am having trouble installing. Have you had any luck

Re: Trouble installing modules with CPAN, or changing @INC

2001-11-27 Thread Scott R. Godin
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Kevin Zembower) wrote: I have a program that requires Mail::Mailer.pm. When I try to run it, I get: www:/usr/local/httpd/cgi-bin # ./mail2friend.pl Can't locate Mail/Mailer.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i586-linux

Trouble installing modules with CPAN, or changing @INC

2001-11-26 Thread KEVIN ZEMBOWER
I have a program that requires Mail::Mailer.pm. When I try to run it, I get: www:/usr/local/httpd/cgi-bin # ./mail2friend.pl Can't locate Mail/Mailer.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i586-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i586-linux

RE: Trouble installing modules with CPAN, or changing @INC

2001-11-26 Thread Bob Showalter
-Original Message- From: KEVIN ZEMBOWER [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 11:36 AM To: [EMAIL PROTECTED] Subject: Trouble installing modules with CPAN, or changing @INC I have a program that requires Mail::Mailer.pm. When I try to run it, I get: www

RE: Trouble installing modules with CPAN, or changing @INC

2001-11-26 Thread KEVIN ZEMBOWER
. Thank for your help, Bob. -Kevin Zembower Bob Showalter [EMAIL PROTECTED] 11/26/01 11:45AM -Original Message- From: KEVIN ZEMBOWER [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 11:36 AM To: [EMAIL PROTECTED] Subject: Trouble installing modules with CPAN, or changing

Re: Trouble installing modules with CPAN, or changing @INC

2001-11-26 Thread Elaine -HFB- Ashton
KEVIN ZEMBOWER [[EMAIL PROTECTED]] quoth: * *Any suggestions on cleaning up this mess? Can I just delete */usr/bin/perl and link it to /usr/local/bin/perl, or is there a more *elaborate, better solution? If this is a Solaris 8 box then I'd recommend leaving /usr/bin/perl alone and adjusting your