in reply to (jeffa) Re: @INC
in thread Adding to or changing @INC

Hmmm. I think I may be operating under a false assumption. I was under the impretion that the @INC paths are a global variable. I want to alter that variable, that way I won't have to change ALL of the scripts.

Replies are listed 'Best First'.
Re: Re: (jeffa) Re: @INC
by no_slogan (Deacon) on Jul 26, 2001 at 02:58 UTC
    If you want to avoid changing a bunch of scripts, you can
    setenv PERL5LIB /some/other/directory
    ... or however you do it with your particular shell.
      Awesome, thats what I was looking for. Thanks a lot man.
(jeffa) 3Re: @INC
by jeffa (Bishop) on Jul 26, 2001 at 02:52 UTC
    @INC is global to the script you are using - one script. You will have to edit each of the scripts you are refering (sic) to . . . sounds like a job for . . . Perl!
    script to edit multiple files and add said line left as exercise to the reader >:)

    Jeff

    R-R-R--R-R-R--R-R-R--R-R-R--R-R-R--
    L-L--L-L--L-L--L-L--L-L--L-L--L-L--