Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Moving perl from one directory to another.

by dave_the_m (Monsignor)
on Jun 11, 2015 at 08:03 UTC ( #1129984=note: print w/replies, xml ) Need Help??


in reply to Moving perl from one directory to another.

The default location of perl's library files are usually hard-coded into the perl binary at compile time, but can be changed at run time via the PERL5LIB environment var, the -I perl command line switch, or 'use lib' within a script, for example.

Dave.

  • Comment on Re: Moving perl from one directory to another.

Replies are listed 'Best First'.
Re^2: Moving perl from one directory to another.
by gurusrin (Initiate) on Jun 11, 2015 at 08:25 UTC
    Thank you Dave.

    I will try out this. The only problem is that the change might have to be done in lots of files.

      Not necessarily. You should be able to export the appropriate environment variables in the shell startup script or somewhere simillar (I don't know AIX, so I can't give an accurate suggestion on that).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1129984]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2021-12-02 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (17 votes). Check out past polls.

    Notices?