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
>
>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
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
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
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
>
>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
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.
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
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
"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
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
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
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
>>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
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
>>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
"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
>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
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
19 matches
Mail list logo