Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by Lady_Aleena (Priest)
on Sep 29, 2016 at 03:51 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1172884]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-23 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found