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
In reply to Re: programatically setting the LD_LIBRARY_PATH
by VSarkiss
in thread programatically setting the LD_LIBRARY_PATH
by LanceDeeply
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |