Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^4: PATH is not setting - PERL (env)

by gregor-e (Beadle)
on Feb 07, 2008 at 00:24 UTC ( [id://666707]=note: print w/replies, xml ) Need Help??


in reply to Re^3: PATH is not setting - PERL (env)
in thread PATH is not setting - PERL

The one downside of this exec hack is you can no longer check syntax or debug, since 'perl -c myprog.pl' will execute the BEGIN block at compile time.

Replies are listed 'Best First'.
Re^5: PATH is not setting - PERL (env)
by dcblack (Initiate) on Dec 17, 2009 at 19:43 UTC
    You can get -c functionality back by prefacing your test with a check for $^C==0 (meaning "only do this if -c is NOT in effect").
Re^5: PATH is not setting - PERL (env)
by Anonymous Monk on Feb 24, 2010 at 14:30 UTC
    All these problems look like you never put these libraries in your cache.

    With solaris and linux, with superuser, go to the directory where your new '.so' files are and run ldconfig (with no argument). It will put them in your cache once for all.

    When you will install new versions of some libraries, you will have to do it again:
    su - superuser
    cd /usr/local/lib
    (or wherever your new files are)
    ldconfig


    That's all I needed to solve the problem.

    The others solutions discussed upper in this page are useful to load a special untested library that you do not want to be available for the regular tasks of your machine.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-03-29 14:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found