in reply to programatically setting the LD_LIBRARY_PATH
Well, Env ties scalars, not arrays. Your code should look like:
I'm not sure a BEGIN block is necessary here, but if it works for you....use Env qw(LD_LIBRARY_PATH); # no sigil here BEGIN { $LD_LIBRARY_PATH .= ":/usr/local/sybase/lib"; }
HTH
|
|---|