Re: Add directories to @INC

2007-03-31 Thread Robert Hicks
Tom Phoenix wrote: On 3/26/07, Robert Hicks <[EMAIL PROTECTED]> wrote: Jeff Pang wrote: >> I accomplished this by adding the following line to the end of my >> startup.pl file: push(@INC, "Put path to directory here"); >> > > This is not mod_perl list. > Since we discuss about common perl scri

Re: Add directories to @INC

2007-03-26 Thread Jeff Pang
> >This appends the new library path to @INC. The usual method however is to >prepend it to @INC, so the added paths are searched first. That would lead to > > unshift @INC, 'Put path to directory here'; > Someone (including me) has mentioned many times,this couldn't work. You should: BEGIN

Re: Add directories to @INC

2007-03-26 Thread D. Bolliger
Lee Conine am Montag, 26. März 2007 16:03: Hello (just noted Tom Phoenix's answer with the hint to perlfaq8 after writing, but sending anyway...) > I see that there are a lot of people wanting to know how to add > directories to their @INC permanently. > > I accomplished this by adding the foll

Re: Add directories to @INC

2007-03-26 Thread Tom Phoenix
On 3/26/07, Robert Hicks <[EMAIL PROTECTED]> wrote: Jeff Pang wrote: >> I accomplished this by adding the following line to the end of my >> startup.pl file: push(@INC, "Put path to directory here"); >> > > This is not mod_perl list. > Since we discuss about common perl scripts not mod_perl,so

Re: Add directories to @INC

2007-03-26 Thread Robert Hicks
Jeff Pang wrote: I accomplished this by adding the following line to the end of my startup.pl file: push(@INC, "Put path to directory here"); This is not mod_perl list. Since we discuss about common perl scripts not mod_perl,so your way seems not useful here. Instead of being critical may

Re: Add directories to @INC

2007-03-26 Thread Jeff Pang
> >I accomplished this by adding the following line to the end of my >startup.pl file: push(@INC, "Put path to directory here"); > This is not mod_perl list. Since we discuss about common perl scripts not mod_perl,so your way seems not useful here. -- To unsubscribe, e-mail: [EMAIL PROTECTED

Add directories to @INC

2007-03-26 Thread Lee Conine
I see that there are a lot of people wanting to know how to add directories to their @INC permanently. I accomplished this by adding the following line to the end of my startup.pl file: push(@INC, "Put path to directory here"); Restart apache and you should be good to go! Hope this helps.

Re: Add directories to @INC

2002-08-02 Thread Jenda Krynicky
From: Harry Putnam <[EMAIL PROTECTED]> > "Jenda Krynicky" <[EMAIL PROTECTED]> writes: > > >> I've been pounding perldoc for a while this morning trying to find > >> a clear technique described to add directories to @INC > >> (permanent

Re: Add directories to @INC

2002-08-02 Thread Steve Grazzini
Harry Putnam <[EMAIL PROTECTED]> wrote: > "Shishir K. Singh" <[EMAIL PROTECTED]> writes: > >>>I've been pounding perldoc for a while this morning trying to >>>find a clear technique described to add directories to @INC >>>(perm

Re: Add directories to @INC

2002-08-01 Thread Harry Putnam
"Jenda Krynicky" <[EMAIL PROTECTED]> writes: >> I've been pounding perldoc for a while this morning trying to find a >> clear technique described to add directories to @INC (permanently). >> >> I'm sure its described somewhere but I'm not f

Re: Add directories to @INC

2002-08-01 Thread Jenda Krynicky
From: Harry Putnam <[EMAIL PROTECTED]> > I've been pounding perldoc for a while this morning trying to find a > clear technique described to add directories to @INC (permanently). > > I'm sure its described somewhere but I'm not finding it. > > I know a

Re: Add directories to @INC

2002-08-01 Thread David T-G
Harry -- ...and then David T-G said... % % ...and then Harry Putnam said... % % % % I've been pounding perldoc for a while this morning trying to find a % % clear technique described to add directories to @INC (permanently). % % There are a number of ways to *update* @INC, but I know

Re: Add directories to @INC

2002-08-01 Thread David T-G
Harry -- ...and then Harry Putnam said... % % I've been pounding perldoc for a while this morning trying to find a % clear technique described to add directories to @INC (permanently). There are a number of ways to *update* @INC, but I know of no way to permanently *change* it. I think y

RE: Add directories to @INC

2002-08-01 Thread Shishir K. Singh
>>I've been pounding perldoc for a while this morning trying to find a >>clear technique described to add directories to @INC (permanently). > >>I'm sure its described somewhere but I'm not finding it. > >>I know about the -I switch method but wante

RE: Add directories to @INC

2002-08-01 Thread nkuipers
Page 300 of the Camel 3rd ed says: "any modifications to @INC need to occur at compile time...You can do this with the lib pragma described in Chapter 31 or with a BEGIN block." I think what our colleague meant by reinstalling Perl is that doing so will enable you to tell Perl where to look fo

RE: Add directories to @INC

2002-08-01 Thread Shishir K. Singh
>>I've been pounding perldoc for a while this morning trying to find a >>clear technique described to add directories to @INC (permanently). > >>I'm sure its described somewhere but I'm not finding it. > >>I know about the -I switch method but wante

Re: Add directories to @INC

2002-08-01 Thread Harry Putnam
"Shishir K. Singh" <[EMAIL PROTECTED]> writes: >>I've been pounding perldoc for a while this morning trying to find a >>clear technique described to add directories to @INC (permanently). > >>I'm sure its described somewhere but I'm not f

RE: Add directories to @INC

2002-08-01 Thread Shishir K. Singh
>I've been pounding perldoc for a while this morning trying to find a >clear technique described to add directories to @INC (permanently). >I'm sure its described somewhere but I'm not finding it. >I know about the -I switch method but wanted to add certain >dire

Add directories to @INC

2002-08-01 Thread Harry Putnam
I've been pounding perldoc for a while this morning trying to find a clear technique described to add directories to @INC (permanently). I'm sure its described somewhere but I'm not finding it. I know about the -I switch method but wanted to add certain directories permanently