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
>>>(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 so perl -V will display them.
>>
>> Perhaps you may need to reinstall if you don't want to use -I !!
>
> Sorry Shishir, but I'm a little mystified by your answer. Are you
> saying there is no way to permanently add directories to @INC, or
> maybe that -I does that?
>
> How will a reinstall help?
The 'permanent' @INC, the one in -V, is in the binary;
you need to rebuild to change it.
If you haven't already, check perlfaq8:
"How do I add a directory to my include path at runtime?"
For a few other suggestions.
HTH
--
Steve
perldoc -qa.j | perl -lpe '($_)=m("(.*)")'
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]