Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: My local libs are not being used by my browser

by Lady_Aleena (Curate)
on Sep 29, 2016 at 03:51 UTC ( #1172884=note: print w/replies, xml ) Need Help??


in reply to Re: My local libs are not being used by my browser
in thread My local libs are not being used by my browser

Your Mother, that won't work. My scripts have been written in such a way that they can be uploaded to a remote server and work just as they do on my computer. So, if I add that line to my scripts locally, they will break remotely since my remote host does not have a directory called /home/me/perl5. I do not know where they remote host puts the local libs, all I know is they work there.

So, if I can not get apache to see my local libs, I will sudo cpan all the modules to to root's libs and let the local libs just sit there.

No matter how hysterical I get, my problems are not time sensitive. So, relax, have a cookie, and a very nice day!
Lady Aleena

Replies are listed 'Best First'.
Re^3: My local libs are not being used by my browser
by Anonymous Monk on Sep 29, 2016 at 04:38 UTC

    You can easily print the list of library paths in @INC (see later). After omitting seemingly system paths (depends on your system environment), you would (hopefully) be left with the path(s) related to your account. Use that path in use lib ....

    Create the CGI program that will run ...

    print join "\n", sort @INC;

      Nevermind as I was thinking along the lines of OP having trouble on a remote host, with minimal control over the setup. And, I might have not noticed @INC list already mentioned.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2019-04-21 08:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I am most likely to install a new module from CPAN if:
















    Results (110 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!