Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: programatically setting the LD_LIBRARY_PATH

by VSarkiss (Monsignor)
on Nov 20, 2001 at 22:51 UTC ( [id://126577]=note: print w/replies, xml ) Need Help??


in reply to programatically setting the LD_LIBRARY_PATH

Well, Env ties scalars, not arrays. Your code should look like:

use Env qw(LD_LIBRARY_PATH); # no sigil here BEGIN { $LD_LIBRARY_PATH .= ":/usr/local/sybase/lib"; }
I'm not sure a BEGIN block is necessary here, but if it works for you....

HTH

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-06-20 06:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.